summaryrefslogtreecommitdiffstats
path: root/app/class/mesg.class.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-02-07 22:33:19 -0500
committerMalf Furious <m@lfurio.us>2018-02-07 22:33:19 -0500
commite54418762e279a1d7ca0efb7ed89b95464753ee8 (patch)
tree1bb852d199447d6569f544c6cbffcbdb49b947dd /app/class/mesg.class.php
parent977e4271c6f27ed2d42fab6bb2706f4a59bf0237 (diff)
downloadscrott-e54418762e279a1d7ca0efb7ed89b95464753ee8.tar.gz
scrott-e54418762e279a1d7ca0efb7ed89b95464753ee8.zip
Update class files to use renamed obj class
Diffstat (limited to 'app/class/mesg.class.php')
-rw-r--r--app/class/mesg.class.php10
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);