1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Hide system alerts for regular admins.

This commit is contained in:
Cameron
2016-12-21 20:34:52 -08:00
parent 2fe231cd92
commit 2b182d2629

View File

@@ -109,6 +109,11 @@ class admin_start
function __construct()
{
if(!getperms('0')) // don't display this tuff to regular admins only main admin.
{
return null;
}
$this->deprecated = array(
e_ADMIN."ad_links.php",
e_PLUGIN."tinymce4/e_meta.php",