aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions_upgrade.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/include/functions_upgrade.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/include/functions_upgrade.php b/admin/include/functions_upgrade.php
index 07861ff94..cc593d5f3 100644
--- a/admin/include/functions_upgrade.php
+++ b/admin/include/functions_upgrade.php
@@ -171,6 +171,15 @@ UPDATE '.PREFIX_TABLE.'user_infos
}
}
+// Deactivate all templates
+function deactivate_templates()
+{
+ $query = '
+ UPDATE '.PREFIX_TABLE.'config
+ SET value = \''. array() .'\'
+ WHERE param = \'extents_for_templates\';';
+}
+
// Check access rights
function check_upgrade_access_rights()
{