diff options
Diffstat (limited to 'app/class/mesg.class.php')
-rw-r--r-- | app/class/mesg.class.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/class/mesg.class.php b/app/class/mesg.class.php index 2512d03..1a864c0 100644 --- a/app/class/mesg.class.php +++ b/app/class/mesg.class.php @@ -12,7 +12,7 @@ * For more information, please refer to UNLICENSE */ -require_once "class/object.class.php"; +require_once "class/obj.class.php"; require_once "class/user.class.php"; require_once "class/pad.class.php"; require_once "class/stage.class.php"; @@ -22,7 +22,7 @@ require_once "class/issue.class.php"; * This class models issue activity, private messaging, pad discussions, * and system and object log messages. */ -class mesg extends object +class mesg extends obj { /* * Constants used for uploading attachments @@ -56,7 +56,7 @@ class mesg extends object /* * Initialize a new regular message. */ - public static function initNew(string $message, user $author, object $parent) : mesg + public static function initNew(string $message, user $author, obj $parent) : mesg { $mesg = new mesg(); $mesg->setOwner($author); @@ -106,7 +106,7 @@ class mesg extends object /* * Initialize a new log message. */ - public static function initNewLog(string $message, user $author, object $parent) : mesg + public static function initNewLog(string $message, user $author, obj $parent) : mesg { $owner = $parent->getOwner(); @@ -321,7 +321,7 @@ class mesg extends object break; } - $rcpt = object::arrayUnique($rcpt); + $rcpt = obj::arrayUnique($rcpt); $author = $this->author; $rcpt = array_filter($rcpt, function ($val) use($author) { return $val->guid != $author; }); $attachPath = ($this->getAttachment() ? "dynmic/attach/" . $this->guid : NULL); |