Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'wip-MDL-36825-m24' of git://github.com/samhemelryk/moodle

  • Loading branch information...
commit f95fb4b6006819391e6c6ce5baa0e19bd1475897 2 parents e0c9b42 + e4f71b7
@danpoltawski danpoltawski authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cache/stores/file/lib.php
View
4 cache/stores/file/lib.php
@@ -123,7 +123,7 @@ public function __construct($name, array $configuration = array()) {
}
if ($path !== false && !is_writable($path)) {
$path = false;
- debugging('The given file cache store path is not writable. '.$path, DEBUG_DEVELOPER);
+ debugging('The file cache store path is not writable for `'.$name.'`', DEBUG_DEVELOPER);
}
} else {
$path = make_cache_directory('cachestore_file/'.preg_replace('#[^a-zA-Z0-9\.\-_]+#', '', $name));
@@ -151,7 +151,7 @@ public function __construct($name, array $configuration = array()) {
* @return bool
*/
public function is_ready() {
- return ($this->path !== null);
+ return $this->isready;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.