]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/NoticeWrapper.php
trac750 Better workflow for asking user for status update permission
[quix0rs-gnu-social.git] / classes / NoticeWrapper.php
index 19ae37c1b6f80a77f5c72ea6f2020abdeb625468..233340ccd69e27b9019b3da49652b70819c1dc80 100644 (file)
@@ -21,7 +21,8 @@ if (!defined('LACONICA')) { exit(1); }
 
 require_once(INSTALLDIR.'/classes/Notice.php');
 
-class NoticeWrapper extends Notice {
+class NoticeWrapper extends Notice
+{
 
     public $id;                              // int(4)  primary_key not_null
     public $profile_id;                      // int(4)   not_null
@@ -38,11 +39,13 @@ class NoticeWrapper extends Notice {
     var $notices = null;
     var $i = -1;
     
-    function __construct($arr) {
+    function __construct($arr)
+    {
         $this->notices = $arr;
     }
     
-    function fetch() {
+    function fetch()
+    {
         static $fields = array('id', 'profile_id', 'uri', 'content', 'rendered',
                                'url', 'created', 'modified', 'reply_to', 'is_local', 'source');
         $this->i++;