]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Blog/newblogentry.php
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
[quix0rs-gnu-social.git] / plugins / Blog / newblogentry.php
index 94988c533520592c0e92b5a4f1b2b8ebe78d8a47..d6421abea28f281675e00f62a2bb3020e3c82676 100644 (file)
@@ -114,7 +114,7 @@ class NewblogentryAction extends Action
             
         $profile = $this->user->getProfile();
 
-        $saved = BlogEntry::saveNew($profile,
+        $saved = Blog_entry::saveNew($profile,
                                     $this->title,
                                     $this->content,
                                     $options);
@@ -128,7 +128,8 @@ class NewblogentryAction extends Action
             $this->element('title', null, _m('Blog entry saved'));
             $this->elementEnd('head');
             $this->elementStart('body');
-            $this->showNotice($saved);
+            $nli = new NoticeListItem($saved, $this);
+            $nli->show();
             $this->elementEnd('body');
             $this->elementEnd('html');
         } else {