Author: as
Date: Fri Oct  5 16:54:37 2007
New Revision: 6377

Log:
- Fixed issue #11138: The validateLocation() method is defined as abstract in
  ezcCacheStorage.

Modified:
    trunk/Cache/ChangeLog
    trunk/Cache/src/storage.php
    trunk/Cache/src/storage/apc/apc_array.php
    trunk/Cache/src/storage/file.php
    trunk/Cache/src/storage/memory.php

Modified: trunk/Cache/ChangeLog
==============================================================================
--- trunk/Cache/ChangeLog [iso-8859-1] (original)
+++ trunk/Cache/ChangeLog [iso-8859-1] Fri Oct  5 16:54:37 2007
@@ -10,6 +10,8 @@
   memory backends.
 - Fixed issue #11413: The search flag is off by default for restore() and
   delete().
+- Fixed issue #11138: The validateLocation() method is defined as abstract in
+  ezcCacheStorage.
 
 
 1.2 - Monday 02 July 2007

Modified: trunk/Cache/src/storage.php
==============================================================================
--- trunk/Cache/src/storage.php [iso-8859-1] (original)
+++ trunk/Cache/src/storage.php [iso-8859-1] Fri Oct  5 16:54:37 2007
@@ -235,6 +235,11 @@
     abstract public function getRemainingLifetime( $id, $attributes = array() 
);
 
     /**
+     * Checks if the location property is valid.
+     */
+    abstract protected function validateLocation();
+
+    /**
      * Returns the location.
      * Returns the location the current storage resides in. The
      * $location attribute has no setter, since it can only be set during

Modified: trunk/Cache/src/storage/apc/apc_array.php
==============================================================================
--- trunk/Cache/src/storage/apc/apc_array.php [iso-8859-1] (original)
+++ trunk/Cache/src/storage/apc/apc_array.php [iso-8859-1] Fri Oct  5 16:54:37 
2007
@@ -412,7 +412,8 @@
     }
 
     /**
-     * Checks if a given location is valid.
+     * Checks the path in the location property exists, and is read-/writable. 
It
+     * throws an exception if not.
      *
      * @throws ezcBaseFileNotFoundException
      *         If the storage location does not exist. This should usually not 

Modified: trunk/Cache/src/storage/file.php
==============================================================================
--- trunk/Cache/src/storage/file.php [iso-8859-1] (original)
+++ trunk/Cache/src/storage/file.php [iso-8859-1] Fri Oct  5 16:54:37 2007
@@ -358,11 +358,8 @@
     }
 
     /**
-     * Checks if a given location is valid.
-     * Checks if the location exists and tries to create it, if not. Also 
checks
-     * if the location is read-/writable and throws an exception, if not.
-     * 
-     * @return void
+     * Checks the path in the location property exists, and is read-/writable. 
It
+     * throws an exception if not.
      *
      * @throws ezcBaseFileNotFoundException
      *         If the storage location does not exist. This should usually not 

Modified: trunk/Cache/src/storage/memory.php
==============================================================================
--- trunk/Cache/src/storage/memory.php [iso-8859-1] (original)
+++ trunk/Cache/src/storage/memory.php [iso-8859-1] Fri Oct  5 16:54:37 2007
@@ -381,7 +381,7 @@
     }
 
     /**
-     * Checks if a given location is valid.
+     * Checks if the location property is valid.
      */
     protected function validateLocation()
     {


-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to