From 2936f0d151fb52bd2649edc37abd2e1d559d1f0f Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 12 Mar 2016 23:38:18 -0500 Subject: Move getUserGlyphicon function from common model into user class --- app/model/common.mod.php | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'app/model/common.mod.php') diff --git a/app/model/common.mod.php b/app/model/common.mod.php index 34ac17d..7f0302f 100644 --- a/app/model/common.mod.php +++ b/app/model/common.mod.php @@ -6,20 +6,6 @@ require_once "class/setting.class.php"; class CommonModel extends MasterModel { - /* - * Get the glyphicon to use for the logged in user (user or admin) - */ - function getCurrentUserGlyphicon() - { - if (!$this->getCurrentUser()) - return ""; - - if ($this->getCurrentUser()->admin == 1) - return "glyphicon glyphicon-sunglasses"; - else - return "glyphicon glyphicon-user"; - } - /* * Default action */ -- cgit v1.2.3