[pLog-svn] r3563 - plugins/trunk/submissions/class/action

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Jun 8 21:02:45 GMT 2006


Author: oscar
Date: 2006-06-08 21:02:44 +0000 (Thu, 08 Jun 2006)
New Revision: 3563

Modified:
   plugins/trunk/submissions/class/action/addsubmissionaction.class.php
   plugins/trunk/submissions/class/action/adminsubmissionspluginupdatesettingsaction.class.php
Log:
plugin ported to 1.1


Modified: plugins/trunk/submissions/class/action/addsubmissionaction.class.php
===================================================================
--- plugins/trunk/submissions/class/action/addsubmissionaction.class.php	2006-06-08 20:57:18 UTC (rev 3562)
+++ plugins/trunk/submissions/class/action/addsubmissionaction.class.php	2006-06-08 21:02:44 UTC (rev 3563)
@@ -6,6 +6,7 @@
 	include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
 	include_once( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
 	include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldsvalues.class.php" );	
+	include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
     
     /**
      * Checks an incoming submission and adds it to the database if all is correct

Modified: plugins/trunk/submissions/class/action/adminsubmissionspluginupdatesettingsaction.class.php
===================================================================
--- plugins/trunk/submissions/class/action/adminsubmissionspluginupdatesettingsaction.class.php	2006-06-08 20:57:18 UTC (rev 3562)
+++ plugins/trunk/submissions/class/action/adminsubmissionspluginupdatesettingsaction.class.php	2006-06-08 21:02:44 UTC (rev 3563)
@@ -114,7 +114,7 @@
 			
 			// update the settings in the db, and make sure that everything went fine
 			$blogs = new Blogs();
-			if( !$blogs->updateBlogs( $this->_blogInfo )) {
+			if( !$blogs->updateBlog( $this->_blogInfo )) {
                 $this->_view = new AdminSubmissionsPluginSettingsView( $this->_blogInfo );
                 $this->_view->setErrorMessage( $this->_locale->tr("error_updating_settings"));
                 $this->setCommonData();



More information about the pLog-svn mailing list