]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - plugins/file_auth/file_auth.php
Move footer to leftnav. Only show if screen height >650px.
[irc/unrealircd/unrealircd-webpanel.git] / plugins / file_auth / file_auth.php
index 685def6938694e335b5d27aa56001d7dd3d18989..61a7fc4800b71662fd54707e33a444d1d7a7adad 100644 (file)
@@ -11,7 +11,6 @@ class file_auth
        function __construct()
        {
                Hook::func(HOOKTYPE_PRE_HEADER, 'file_auth::session_start');
-               Hook::func(HOOKTYPE_FOOTER, 'file_auth::add_footer_info');
                Hook::func(HOOKTYPE_USER_LOOKUP, 'file_auth::get_user');
                Hook::func(HOOKTYPE_USERMETA_ADD, 'file_auth::add_usermeta');
                Hook::func(HOOKTYPE_USERMETA_DEL, 'file_auth::del_usermeta');
@@ -43,17 +42,6 @@ class file_auth
                }
        }
 
-       // duplicate code
-       public static function add_footer_info($empty)
-       {
-               if (!($user = unreal_get_current_user()))
-                       return;
-
-               else {
-                       echo "<code>Admin Panel v" . WEBPANEL_VERSION . "</code>";
-               }
-       }
-
        public static function add_pre_overview_card($empty)
        {
                if (defined('DEFAULT_USER'))