]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/newnotice.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / actions / newnotice.php
index fe8d8e5c5b2f2bab6e4999c588c781aaa58c9ce1..938be69b0f89da4d9a3ae9f5114987ecded6e252 100644 (file)
@@ -331,6 +331,8 @@ class NewnoticeAction extends Action
     }
 
     /**
+     * // XXX: Should we be showing the notice form with microapps here?
+     *
      * Overload for replies or bad results
      *
      * We show content in the notice form if there were replies or results.
@@ -343,7 +345,7 @@ class NewnoticeAction extends Action
         if (!$content) {
             $replyto = $this->trimmed('replyto');
             $inreplyto = $this->trimmed('inreplyto');
-            $profile = Profile::staticGet('nickname', $replyto);
+            $profile = Profile::getKV('nickname', $replyto);
             if ($profile) {
                 $content = '@' . $profile->nickname . ' ';
             }
@@ -357,7 +359,7 @@ class NewnoticeAction extends Action
             'div',
             array(
                 'id'    => 'input_form_status',
-                'class' => 'input_form current'
+                'class' => 'input_form current nonav'
             )
         );