[pLog-svn] r3464 - plog/trunk/class/action/admin

mark at devel.lifetype.net mark at devel.lifetype.net
Fri May 26 12:06:35 GMT 2006


Author: mark
Date: 2006-05-26 12:06:34 +0000 (Fri, 26 May 2006)
New Revision: 3464

Modified:
   plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php
Log:
Revert the 3459 commit. I commit the wrong file.

Modified: plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php	2006-05-26 11:46:00 UTC (rev 3463)
+++ plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php	2006-05-26 12:06:34 UTC (rev 3464)
@@ -58,9 +58,7 @@
         {
         	// fetch the settings from the db and update them accordingly
             $blogs = new Blogs();
-            // $blogSettings = $this->_blogInfo->getSettings();
-            $blogInfo = $blogs->getBlogInfo( $this->_blogInfo->getId() );
-            $blogSettings = $blogInfo->getSettings();
+            $blogSettings = $this->_blogInfo->getSettings();
             $blogSettings->setValue( "locale", $this->_request->getValue( "blogLocale" ));
             $blogSettings->setValue( "show_posts_max", $this->_request->getValue( "blogMaxMainPageItems" ));
             $blogSettings->setValue( "recent_posts_max", $this->_request->getValue( "blogMaxRecentItems" ));



More information about the pLog-svn mailing list