]> git.mxchange.org Git - friendica.git/blobdiff - mod/admin.php
Enforce systen.register_policy value type
[friendica.git] / mod / admin.php
index c90eb3c5eb46779c601aa9249d8eb79a033b721b..77a5aada7f47a5df0aff4d54b725d459112a171c 100644 (file)
@@ -848,7 +848,7 @@ function admin_page_summary(App $a)
        // Legacy config file warning
        if (file_exists('.htconfig.php')) {
                $showwarning = true;
-               $warningtext[] = L10n::t('Friencia\'s configuration now is stored in config/local.ini.php, please copy config/local-sample.ini.php and move your config from <code>.htconfig.php</code>.');
+               $warningtext[] = L10n::t('Friendica\'s configuration now is stored in config/local.ini.php, please copy config/local-sample.ini.php and move your config from <code>.htconfig.php</code>.');
        }
 
        $r = q("SELECT `page-flags`, COUNT(`uid`) AS `count` FROM `user` GROUP BY `page-flags`");
@@ -944,8 +944,6 @@ function admin_page_site_post(App $a)
 
                function update_table($table_name, $fields, $old_url, $new_url)
                {
-                       global $a;
-
                        $dbold = dbesc($old_url);
                        $dbnew = dbesc($new_url);