[pLog-svn] r3758 - in plugins/trunk: adrotate atom/class/dao feedreader/class/dao karma/class/karma mailcentre unported/bestposts unported/blogstatistics unported/guestbook/class/dao unported/plogbirthdays unported/plogpoll unported/plogstaticrotator unported/shoutbox/plugins/shoutbox/class/dao unported/whoonline

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Jul 20 06:56:41 GMT 2006


Author: oscar
Date: 2006-07-20 06:56:41 +0000 (Thu, 20 Jul 2006)
New Revision: 3758

Modified:
   plugins/trunk/adrotate/pluginadrotate.class.php
   plugins/trunk/atom/class/dao/atompasswords.class.php
   plugins/trunk/feedreader/class/dao/feedreaderdata.class.php
   plugins/trunk/karma/class/karma/karmalib.class.php
   plugins/trunk/mailcentre/pluginmailcentre.class.php
   plugins/trunk/unported/bestposts/pluginbestposts.class.php
   plugins/trunk/unported/blogstatistics/pluginblogstatistics.class.php
   plugins/trunk/unported/guestbook/class/dao/guestbookdata.class.php
   plugins/trunk/unported/plogbirthdays/pluginplogbirthdays.class.php
   plugins/trunk/unported/plogpoll/pluginplogpoll.class.php
   plugins/trunk/unported/plogstaticrotator/pluginplogstaticrotator.class.php
   plugins/trunk/unported/shoutbox/plugins/shoutbox/class/dao/shoutbox.class.php
   plugins/trunk/unported/whoonline/pluginwhoonline.class.php
Log:
renamed NewDataDictionary to NewPDbDataDictionary according to the previous commit


Modified: plugins/trunk/adrotate/pluginadrotate.class.php
===================================================================
--- plugins/trunk/adrotate/pluginadrotate.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/adrotate/pluginadrotate.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -66,7 +66,7 @@
 
       /*lifted from other plugins*/
 			// create the data dictionary and create the table if necessary
-      $dict = NewDataDictionary( $db );
+      $dict = NewPDbDataDictionary( $db );
       $sqlArray = $dict->ChangeTableSQL( $tableName, $fields );
       $result = $dict->ExecuteSQLArray( $sqlArray );
       if( !$result )

Modified: plugins/trunk/atom/class/dao/atompasswords.class.php
===================================================================
--- plugins/trunk/atom/class/dao/atompasswords.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/atom/class/dao/atompasswords.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -36,7 +36,7 @@
 			$dbPrefix = $this->getPrefix();
 			$tableName = $dbPrefix."atom_passwords";
 			
-			$dict = NewDataDictionary( $this->_db );
+			$dict = NewPDbDataDictionary( $this->_db );
 			$sqlArray = $dict->ChangeTableSQL( $tableName, ATOM_PASSWORDS_DB_SCHEMA );
 			$result = $dict->ExecuteSQLArray( $sqlArray );
 		}

Modified: plugins/trunk/feedreader/class/dao/feedreaderdata.class.php
===================================================================
--- plugins/trunk/feedreader/class/dao/feedreaderdata.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/feedreader/class/dao/feedreaderdata.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -31,7 +31,7 @@
 				  feed_id I(10) NOT NULL,
 				  last_read T(14) DEFDATE
 				  ";
-            $dict = NewDataDictionary( $this->_db );
+            $dict = NewPDbDataDictionary( $this->_db );
             $sqlArray = $dict->ChangeTableSQL( $table, $fields );
             $result = $dict->ExecuteSQLArray( $sqlArray );
 			

Modified: plugins/trunk/karma/class/karma/karmalib.class.php
===================================================================
--- plugins/trunk/karma/class/karma/karmalib.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/karma/class/karma/karmalib.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -156,7 +156,7 @@
 
 			// create the data dictionary and create the table if necessary
 			$this->_initializeDb();
-            $dict = NewDataDictionary( $this->_db );
+            $dict = NewPDbDataDictionary( $this->_db );
             $sqlArray = $dict->ChangeTableSQL( $tableName, $tableSchema );
             $result = $dict->ExecuteSQLArray( $sqlArray );
 			

Modified: plugins/trunk/mailcentre/pluginmailcentre.class.php
===================================================================
--- plugins/trunk/mailcentre/pluginmailcentre.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/mailcentre/pluginmailcentre.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -65,7 +65,7 @@
 			$tableName = $dbPrefix."mailcentre_sent";
 
 			// create the data dictionary and create the table if necessary
-            $dict = NewDataDictionary( $db );
+            $dict = NewPDbDataDictionary( $db );
             $sqlArray = $dict->ChangeTableSQL( $tableName, $fields );
             $result = $dict->ExecuteSQLArray( $sqlArray );
             

Modified: plugins/trunk/unported/bestposts/pluginbestposts.class.php
===================================================================
--- plugins/trunk/unported/bestposts/pluginbestposts.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/unported/bestposts/pluginbestposts.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -222,7 +222,7 @@
                 score I(5) NOTNULL
                 ";
             // create a data dictionary object
-            $dict = NewDataDictionary($this->db);
+            $dict = NewPDbDataDictionary($this->db);
             // Checks to see if table exists, if table does not exist,
             // adds the table. If table exists, generates appropriate
             // ALTER TABLE MODIFY COLUMN commands if field already exists,

Modified: plugins/trunk/unported/blogstatistics/pluginblogstatistics.class.php
===================================================================
--- plugins/trunk/unported/blogstatistics/pluginblogstatistics.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/unported/blogstatistics/pluginblogstatistics.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -1,22 +1,22 @@
 <?php
-//
-// blogstatistics - pLog Blog Statistics and Traffic Statistics
-//
-// Copyright 2004 by Minstrel Chiu. All rights reserved.
-//
-// Licensed under the GNU GPL License, Version 2.0 (the "License");
+//
+// blogstatistics - pLog Blog Statistics and Traffic Statistics
+//
+// Copyright 2004 by Minstrel Chiu. All rights reserved.
+//
+// Licensed under the GNU GPL License, Version 2.0 (the "License");
 // Everyone is permitted to copy and distribute verbatim copies
-// of this license document, but changing it is not allowed.
-// You may obtain a copy of the License at
-//
-//   http://www.fsf.org/copyleft/gpl.html
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// of this license document, but changing it is not allowed.
+// You may obtain a copy of the License at
 //
+//   http://www.fsf.org/copyleft/gpl.html
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
 
 	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
 	include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
@@ -451,7 +451,7 @@
 			$tableName = $dbPrefix.$table;
 
 			// create the data dictionary and create the table if necessary
-			$dict = NewDataDictionary( $this->_db );
+			$dict = NewPDbDataDictionary( $this->_db );
 			$sqlArray = $dict->ChangeTableSQL( $tableName, $field );
 			$result = $dict->ExecuteSQLArray( $sqlArray );
 

Modified: plugins/trunk/unported/guestbook/class/dao/guestbookdata.class.php
===================================================================
--- plugins/trunk/unported/guestbook/class/dao/guestbookdata.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/unported/guestbook/class/dao/guestbookdata.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -40,7 +40,7 @@
 				spam_rate F DEFAULT 0
 				";
 
-			$dict = NewDataDictionary( $this->_db );
+			$dict = NewPDbDataDictionary( $this->_db );
 			$sqlArray = $dict->ChangeTableSQL( $table, $field );
 			$result = $dict->ExecuteSQLArray( $sqlArray );
 

Modified: plugins/trunk/unported/plogbirthdays/pluginplogbirthdays.class.php
===================================================================
--- plugins/trunk/unported/plogbirthdays/pluginplogbirthdays.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/unported/plogbirthdays/pluginplogbirthdays.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -60,7 +60,7 @@
 
     $tableName = $dbPrefix."plogbirthdays";
 
-    $dict = NewDataDictionary($db);
+    $dict = NewPDbDataDictionary($db);
 
     $sqlAry = $dict->ChangeTableSQL($tableName,$fields);
     $result = $dict->ExecuteSQLArray($sqlAry);

Modified: plugins/trunk/unported/plogpoll/pluginplogpoll.class.php
===================================================================
--- plugins/trunk/unported/plogpoll/pluginplogpoll.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/unported/plogpoll/pluginplogpoll.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -75,7 +75,7 @@
     $tableName = $dbPrefix."plogpoll_polls";
     $tableName2 = $dbPrefix."plogpoll_voterips";
 
-    $dict = NewDataDictionary($db);
+    $dict = NewPDbDataDictionary($db);
     
     $sqlAry = $dict->ChangeTableSQL($tableName,$fields);
     $result = $dict->ExecuteSQLArray($sqlAry);

Modified: plugins/trunk/unported/plogstaticrotator/pluginplogstaticrotator.class.php
===================================================================
--- plugins/trunk/unported/plogstaticrotator/pluginplogstaticrotator.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/unported/plogstaticrotator/pluginplogstaticrotator.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -62,7 +62,7 @@
 
     $tableName = $dbPrefix."plogstaticrotator_content";
 
-    $dict = NewDataDictionary($db);
+    $dict = NewPDbDataDictionary($db);
 
     $sqlAry = $dict->ChangeTableSQL($tableName,$fields);
     $result = $dict->ExecuteSQLArray($sqlAry);

Modified: plugins/trunk/unported/shoutbox/plugins/shoutbox/class/dao/shoutbox.class.php
===================================================================
--- plugins/trunk/unported/shoutbox/plugins/shoutbox/class/dao/shoutbox.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/unported/shoutbox/plugins/shoutbox/class/dao/shoutbox.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -74,7 +74,7 @@
 
         $tableName = $this->getPrefix() . "shoutbox_shouts";
 
-        $dict = NewDataDictionary( $this->_db );
+        $dict = NewPDbDataDictionary( $this->_db );
         $sqlArray = $dict->ChangeTableSQL( $tableName, $schema);
         $result = $dict->ExecuteSQLArray( $sqlArray );
 	if(!$result)

Modified: plugins/trunk/unported/whoonline/pluginwhoonline.class.php
===================================================================
--- plugins/trunk/unported/whoonline/pluginwhoonline.class.php	2006-07-20 06:42:35 UTC (rev 3757)
+++ plugins/trunk/unported/whoonline/pluginwhoonline.class.php	2006-07-20 06:56:41 UTC (rev 3758)
@@ -115,7 +115,7 @@
 		$dbPrefix = $this->getPrefix();
 		$tableName = $dbPrefix.$tableName;
 		// create the data dictionary and create the table if necessary
-		$dict = NewDataDictionary( $this->_db );
+		$dict = NewPDbDataDictionary( $this->_db );
 		$sqlArray = $dict->ChangeTableSQL( $tableName, $tableSchema );
 		$result = $dict->ExecuteSQLArray( $sqlArray );
 		if( $result == 0 )



More information about the pLog-svn mailing list