1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Merge pull request #3404 from SimSync/fix_3375

Fixes #3375 Added GDPR Agreement checkbox to contact form (incl. Lans)
This commit is contained in:
Cameron
2018-09-03 12:09:26 -07:00
committed by GitHub
7 changed files with 92 additions and 10 deletions

View File

@@ -599,15 +599,15 @@ function update_core_database($type = '')
$e_user_list = e107::getPref('e_user_list');
if(empty($e_user_list['user'])) // check e107_plugins/user/e_user.php is registered.
{
if($just_check)
{
return update_needed("user/e_user.php need to be registered"); // NO LAN.
}
e107::getPlug()->clearCache()->buildAddonPrefLists();
}
if(empty($e_user_list['user'])) // check e107_plugins/user/e_user.php is registered.
{
if($just_check)
{
return update_needed("user/e_user.php need to be registered"); // NO LAN.
}
}
// Make sure, that the pref "post_script" contains one of the allowed userclasses