Skip to content

Commit

Permalink
MDL-36111 cache: remove double semicolons
Browse files Browse the repository at this point in the history
Thanks to Matteo Scaramuccia!
  • Loading branch information
danpoltawski committed Nov 15, 2012
1 parent 532a704 commit a3f3ea2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cache/classes/dummystore.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public function cleanup() {
public static function initialise_test_instance(cache_definition $definition) {
$cache = new cachestore_dummy('Dummy store test');
$cache->initialise($definition);
return $cache;;
return $cache;
}

/**
Expand All @@ -274,4 +274,4 @@ public static function initialise_test_instance(cache_definition $definition) {
public function my_name() {
return $this->name;
}
}
}
4 changes: 2 additions & 2 deletions cache/stores/mongodb/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public function supports_multiple_identifiers() {
* @return bool
*/
public function supports_native_ttl() {
return false;;
return false;
}

/**
Expand Down Expand Up @@ -517,4 +517,4 @@ public static function initialise_test_instance(cache_definition $definition) {
public function my_name() {
return $this->name;
}
}
}
4 changes: 2 additions & 2 deletions cache/stores/static/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ public static function initialise_test_instance(cache_definition $definition) {
// Do something here perhaps.
$cache = new cachestore_static('Static store');
$cache->initialise($definition);
return $cache;;
return $cache;
}

/**
Expand Down Expand Up @@ -422,4 +422,4 @@ protected static function flush_store() {
self::$staticstore[$id] = array();
}
}
}
}

0 comments on commit a3f3ea2

Please sign in to comment.