diff options
author | Malf Furious <m@lfurio.us> | 2016-03-12 23:38:18 -0500 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-03-27 20:16:32 -0400 |
commit | 2936f0d151fb52bd2649edc37abd2e1d559d1f0f (patch) | |
tree | 0fd96caebbf3727038b9750d21a84c492b53f457 /app/model/common.mod.php | |
parent | 587bdef47abbf4545508cac95a0495be0d5ddaa5 (diff) | |
download | scrott-2936f0d151fb52bd2649edc37abd2e1d559d1f0f.tar.gz scrott-2936f0d151fb52bd2649edc37abd2e1d559d1f0f.zip |
Move getUserGlyphicon function from common model into user class
Diffstat (limited to 'app/model/common.mod.php')
-rw-r--r-- | app/model/common.mod.php | 14 |
1 files changed, 0 insertions, 14 deletions
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 @@ -7,20 +7,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 */ function common_deflt() |