[pLog-svn] r1111 - plog/trunk/class/dao

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed Feb 16 19:34:08 GMT 2005


Author: oscar
Date: 2005-02-16 19:34:08 +0000 (Wed, 16 Feb 2005)
New Revision: 1111

Modified:
   plog/trunk/class/dao/blogs.class.php
Log:
fixed issue 254 (http://bugs.plogworld.net/view.php?id=254), introduced because of some changes in model.class.php (removed the private variable _config)


Modified: plog/trunk/class/dao/blogs.class.php
===================================================================
--- plog/trunk/class/dao/blogs.class.php	2005-02-16 19:29:37 UTC (rev 1110)
+++ plog/trunk/class/dao/blogs.class.php	2005-02-16 19:34:08 UTC (rev 1111)
@@ -205,11 +205,12 @@
          function updateNotify( $blogInfo )
          {
          	// if this feature is not enabled, we quit
-            if( !$this->_config->getValue( "xmlrpc_ping_enabled" ))
+			$config =& Config::getConfig();
+            if( !$config->getValue( "xmlrpc_ping_enabled" ))
             	return;
 
          	// get the array which contains the hosts
-            $hosts = $this->_config->getValue( "xmlrpc_ping_hosts" );
+            $hosts = $config->getValue( "xmlrpc_ping_hosts" );
 
             // if it is not an array, quit
             if( !is_array($hosts))




More information about the pLog-svn mailing list