title: codeigniter Caching Driver function clean() not working
body: <p>I'm using file based caching in codeigniter Its sets cache successfully but it fails to clean it.</p>
  <p><strong>code</strong></p>
  <pre><code>&lt;?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  
  class Tm extends CI_Controller {
  
  public function index(){
  
      $this-&gt;load-&gt;driver('cache');
  
      if ($foo = $this-&gt;cache-&gt;file-&gt;get('foo2'))
          echo $foo.'&lt;br /&gt;';
      else
          {
          echo 'Saving to the cache!&lt;br /&gt;';
          $foo = 'foobarbaz! :D';
          $this-&gt;cache-&gt;file-&gt;save('foo2', $foo, 60);
          }
      if($this-&gt;cache-&gt;clean())
          echo &quot;clearing cache &quot;;
      else
          echo &quot;Error clearing cache &quot;;
      }
      
  } 
  </code></pre>
  <p>the first output :</p>
  <blockquote>
  <p>Saving to the cache!</p>
  <p>clearing cache</p>
  </blockquote>
  <p>when i refresh it</p>
  <blockquote>
  <p>foobarbaz! :D</p>
  <p>clearing cache</p>
  </blockquote>
  <p>It looks like <code>$this-&gt;cache-&gt;clean()</code> function always return <strong>true</strong> also when it is failed</p>