[pLog-svn] r499 - plog/trunk/class/config

oscar at devel.plogworld.net oscar at devel.plogworld.net
Tue Dec 14 21:31:43 GMT 2004


Author: oscar
Date: 2004-12-14 21:31:42 +0000 (Tue, 14 Dec 2004)
New Revision: 499

Modified:
   plog/trunk/class/config/configabstractstorage.class.php
   plog/trunk/class/config/configdbstorage.class.php
Log:
moved ConfigDbStorage::getTempFolder to ConfigAbstractStorage::getTempFolder which is where it should be anyway

Modified: plog/trunk/class/config/configabstractstorage.class.php
===================================================================
--- plog/trunk/class/config/configabstractstorage.class.php	2004-12-14 18:29:32 UTC (rev 498)
+++ plog/trunk/class/config/configabstractstorage.class.php	2004-12-14 21:31:42 UTC (rev 499)
@@ -114,5 +114,19 @@
         	throw( new Exception( "ConfigAbstractStorage::saveValue: This method must be implemented by child classes." ));
             die();
         }
+		
+
+        /**
+         * shortcut for one of the most sought after config keys: temp_folder
+         *
+         * not really needed, but it makes my life easier since I never remember
+         * whether it is tmp_folder, temp_folder, temp_dir, or whatever :)
+         *
+         * @return The name of the folder used for temporary storage
+         */
+		function getTempFolder()
+        {
+            return $this->getValue( "temp_folder" );
+        }
     }
 ?>

Modified: plog/trunk/class/config/configdbstorage.class.php
===================================================================
--- plog/trunk/class/config/configdbstorage.class.php	2004-12-14 18:29:32 UTC (rev 498)
+++ plog/trunk/class/config/configdbstorage.class.php	2004-12-14 21:31:42 UTC (rev 499)
@@ -331,18 +331,5 @@
 
             return $result;
         }
-
-        /**
-         * shortcut for one of the most sought after config keys: temp_folder
-         *
-         * not really needed, but it makes my life easier since I never remember
-         * whether it is tmp_folder, temp_folder, temp_dir, or whatever :)
-         *
-         * @return The name of the folder used for temporary storage
-         */
-	function getTempFolder()
-        {
-            return $this->getValue( "temp_folder" );
-        }
     }
 ?>




More information about the pLog-svn mailing list