summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM <m@lfurio.us>2015-12-06 20:11:28 -0500
committerM <m@lfurio.us>2015-12-06 20:11:28 -0500
commit5f8d24d62e1474958685fee21e7e442aa3ce9d9c (patch)
treed3b7068d217b769ac7fb65a4f1e3dc7545e5ca99
parentf1c8aca230a0fc982f98f3dfc9b630b82dbb7dc4 (diff)
downloadscrott-5f8d24d62e1474958685fee21e7e442aa3ce9d9c.tar.gz
scrott-5f8d24d62e1474958685fee21e7e442aa3ce9d9c.zip
Revert "+ Added functions to Master model for getting merged strings for all error/warning/or notice messages"
- Rm'ing functions I just added. I decided to go about this in a different way This reverts commit f1c8aca230a0fc982f98f3dfc9b630b82dbb7dc4.
Diffstat (limited to '')
-rw-r--r--app/model/master.mod.php32
1 files changed, 0 insertions, 32 deletions
diff --git a/app/model/master.mod.php b/app/model/master.mod.php
index 1ce9b9a..2570a8b 100644
--- a/app/model/master.mod.php
+++ b/app/model/master.mod.php
@@ -4,38 +4,6 @@ require_once "class/model.class.php";
class MasterModel extends Model
{
- /*
- * Get string of all logged error messages
- */
- function getErrorStr()
- {
- if (!$this->isError())
- return "";
-
- return implode("<br />", $this->errorlist);
- }
-
- /*
- * Get string of all logged warning messages
- */
- function getWarningStr()
- {
- if (!$this->isWarning())
- return "";
-
- return implode("<br />", $this->warninglist);
- }
-
- /*
- * Get string of all logged notice messages
- */
- function getNoticeStr()
- {
- if (!$this->isNotice())
- return "";
-
- return implode("<br />", $this->noticelist);
- }
}
?>