Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14564

eZ Flow cronjob patch to consider viewcache.ini

    XMLWordPrintable

Details

    Description

      eZ Flow cronjob extension/ezflow/cronjobs/ezflowupdate.php
      Does not consider viewcache.ini.append.php, while clearing cache,

      I have created one small attached patch for this missing feature,

      --- extension/ezflow/classes/ezflowoperations.php.orig  2009-02-25 18:41:10.000000000 +0100
      +++ extension/ezflow/classes/ezflowoperations.php       2009-02-25 18:35:48.000000000 +0100
      @@ -454,7 +454,9 @@
      
                   if ( $nodeChanged )
                   {
      -                eZContentCache::cleanup( array( $nodeID ) );
      +//                eZContentCache::cleanup( array( $nodeID ) );
      +                $contentObject = eZContentObject::fetchByNodeID( $nodeID );
      +                eZContentCacheManager::clearContentCache( $contentObject->attribute('id') );
                   }
               }
      

      Attachments

        Activity

          People

            ls ls
            gv gv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: