I think I found a bug in deleteAll() for cache. And I think this is why I
had problem deleting cache files.

in CacheProvider.php:

    /**
     * Deletes all cache entries.
     *
     * @return boolean TRUE if the cache entries were successfully deleted,
FALSE otherwise.
     */
    public function deleteAll()
    {
        $namespaceCacheKey = $this->getNamespaceCacheKey();
        $namespaceVersion  = $this->getNamespaceVersion() + 1;
        $this->namespaceVersion = $namespaceVersion;
        return *$this->doSave*($namespaceCacheKey, $namespaceVersion);
    }

Why $this->doSave() within deleteAll() ? Shouldn't it be $this->doDelete()?
Marco, if you confirm this should be a typo, do you want me to pull a
request with edited CacheProvider.php on github?

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to