diff options
author | Malf Furious <m@lfurio.us> | 2017-06-04 22:28:09 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-06-04 22:28:09 -0400 |
commit | 2376aabe74528b018189982224d61a643325b114 (patch) | |
tree | 3aa16bc3dd40b1a7dd1a1f524d71a6c16055e716 /app/class/issue.class.php | |
parent | 6b69e5a8f85ebdf92b84e3330bea306d4a90a115 (diff) | |
parent | a8e79321426b1436f46ba5b7c5dee390c94bdb8b (diff) | |
download | scrott-2376aabe74528b018189982224d61a643325b114.tar.gz scrott-2376aabe74528b018189982224d61a643325b114.zip |
Merge branch 'feature/mesgs' into dev
Diffstat (limited to '')
-rw-r--r-- | app/class/issue.class.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/app/class/issue.class.php b/app/class/issue.class.php index 3127a87..6056457 100644 --- a/app/class/issue.class.php +++ b/app/class/issue.class.php @@ -63,24 +63,6 @@ class issue extends object } /* - * Get all activity for this issue. Messages are sorted by date - * created. - */ - public function getMesgs_ordByDatetime() : array - { - $query = "SELECT guid FROM objects WHERE objtype = 'mesg' AND " . - "parent = '" . database::esc($this->guid) . "' ORDER BY created"; - $res = database::query($query); - - $mesgs = array(); - - foreach ($res as $m) - $mesgs[] = new mesg($m['guid']); - - return $mesgs; - } - - /* * Reset the seen flag and reassign this issue. */ public function assignTo(user $assignee) : void |