aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Nordfeldth <mmn@hethane.se>2016-01-18 17:03:37 +0100
committerMikael Nordfeldth <mmn@hethane.se>2016-01-18 17:03:37 +0100
commit11b925c4cadad87dba4bebc110f0a2b595f5c525 (patch)
tree91d13089bbb56a6ddf389c5569ff0ebfe16d6b14
parentc1655c2c0f6054eadda9f01bdcebe13aa0f4ecdc (diff)
downloadgnu-social-11b925c4cadad87dba4bebc110f0a2b595f5c525.tar
gnu-social-11b925c4cadad87dba4bebc110f0a2b595f5c525.zip
Use a function to getCreated()
-rw-r--r--classes/Notice.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 523c609991..0fefb9b48a 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -272,6 +272,11 @@ class Notice extends Managed_DataObject
return $this->rendered;
}
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
/*
* Get the original representation URL of this notice.
*