]> git.agnieray.net Git - galette.git/commitdiff
Database will never be OK on __wakeup, if the picture does not exists as a file,...
authorJohan Cwiklinski <johan@x-tnd.be>
Mon, 7 May 2012 06:45:02 +0000 (08:45 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Mon, 7 May 2012 06:45:02 +0000 (08:45 +0200)
galette/lib/Galette/Core/Picture.php

index 2c2de42cafd53751c09ed173bdd102c856b65ae0..d8408201e5eef2e6f947f084d58acf7a37e1c847 100644 (file)
@@ -151,7 +151,7 @@ class Picture
         if ( !$this->_checkFileOnFS() ) {
             //if file does not exists on the FileSystem,
             //check for it in the database
-            $this->_checkFileInDB();
+            //$this->_checkFileInDB();
         }
 
         // if we still have no picture, take the default one