aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/backend.php')
-rw-r--r--ratatoeskr/backend.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/ratatoeskr/backend.php b/ratatoeskr/backend.php
index be03fc7..0a33dbc 100644
--- a/ratatoeskr/backend.php
+++ b/ratatoeskr/backend.php
@@ -15,8 +15,6 @@ require_once(dirname(__FILE__) . "/sys/textprocessors.php");
require_once(dirname(__FILE__) . "/sys/plugin_api.php");
require_once(dirname(__FILE__) . "/languages.php");
-$admin_grp = NULL;
-
/* Mass creation of tags. */
function maketags($tagnames, $lang)
{
@@ -53,8 +51,7 @@ $backend_subactions = url_action_subactions(array(
{
global $ratatoeskr_settings, $admin_grp, $ste, $languages;
- if($admin_grp === NULL)
- $admin_grp = Group::by_name("admins");
+ Group::load_admin_group();
$ste->vars["all_languages"] = array();
$ste->vars["all_langcodes"] = array();