mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-36111 cache: remove double semicolons
Thanks to Matteo Scaramuccia!
This commit is contained in:
parent
532a704d95
commit
a3f3ea2684
4
cache/classes/dummystore.php
vendored
4
cache/classes/dummystore.php
vendored
@ -264,7 +264,7 @@ class cachestore_dummy implements cache_store {
|
||||
public static function initialise_test_instance(cache_definition $definition) {
|
||||
$cache = new cachestore_dummy('Dummy store test');
|
||||
$cache->initialise($definition);
|
||||
return $cache;;
|
||||
return $cache;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -274,4 +274,4 @@ class cachestore_dummy implements cache_store {
|
||||
public function my_name() {
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
4
cache/stores/mongodb/lib.php
vendored
4
cache/stores/mongodb/lib.php
vendored
@ -239,7 +239,7 @@ class cachestore_mongodb implements cache_store {
|
||||
* @return bool
|
||||
*/
|
||||
public function supports_native_ttl() {
|
||||
return false;;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -517,4 +517,4 @@ class cachestore_mongodb implements cache_store {
|
||||
public function my_name() {
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
4
cache/stores/static/lib.php
vendored
4
cache/stores/static/lib.php
vendored
@ -360,7 +360,7 @@ class cachestore_static extends static_data_store implements cache_store, cache_
|
||||
// Do something here perhaps.
|
||||
$cache = new cachestore_static('Static store');
|
||||
$cache->initialise($definition);
|
||||
return $cache;;
|
||||
return $cache;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -422,4 +422,4 @@ abstract class static_data_store {
|
||||
self::$staticstore[$id] = array();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user