From 2b182d262913a109742d64cf6317cd167d9c6d3d Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 21 Dec 2016 20:34:52 -0800 Subject: [PATCH] Hide system alerts for regular admins. --- e107_admin/admin.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/e107_admin/admin.php b/e107_admin/admin.php index 86cf3ad19..439b81297 100644 --- a/e107_admin/admin.php +++ b/e107_admin/admin.php @@ -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",