Permalink
Browse files

MDL-36363 Override instance_deleted() for all cache stores performing…

… just a cleanup() when this action successfully applies over all the definitions of the cache store
  • Loading branch information...
scara authored and Sam Hemelryk committed Dec 2, 2012
1 parent 233046e commit 86afa1d00fb457102eedee3faa1ace9c976f7930
@@ -323,6 +323,17 @@ public function cleanup() {
$this->purge();
}
/**
* Performs any necessary operation when the store instance is being deleted,
* regardless the store being initialised with a definition ({@link initialise()}).
*
* @link http://tracker.moodle.org/browse/MDL-36363
* @see cleanup()
*/
public function instance_deleted() {
$this->cleanup();
}
/**
* Generates an instance of the cache store that can be used for testing.
*
@@ -405,6 +405,17 @@ public function cleanup() {
$this->purge();
}
/**
* Performs any necessary operation when the store instance is being deleted,
* regardless the store being initialised with a definition ({@link initialise()}).
*
* @link http://tracker.moodle.org/browse/MDL-36363
* @see cleanup()
*/
public function instance_deleted() {
$this->cleanup();
}
/**
* Generates an instance of the cache store that can be used for testing.
*
@@ -443,6 +443,17 @@ public function cleanup() {
$this->purge();
}
/**
* Performs any necessary operation when the store instance is being deleted,
* regardless the store being initialised with a definition ({@link initialise()}).
*
* @link http://tracker.moodle.org/browse/MDL-36363
* @see cleanup()
*/
public function instance_deleted() {
$this->cleanup();
}
/**
* Generates an instance of the cache store that can be used for testing.
*
@@ -379,6 +379,17 @@ public function cleanup() {
$this->purge();
}
/**
* Performs any necessary operation when the store instance is being deleted,
* regardless the store being initialised with a definition ({@link initialise()}).
*
* @link http://tracker.moodle.org/browse/MDL-36363
* @see cleanup()
*/
public function instance_deleted() {
$this->cleanup();
}
/**
* Generates an instance of the cache store that can be used for testing.
*
@@ -376,6 +376,17 @@ public function cleanup() {
$this->purge();
}
/**
* Performs any necessary operation when the store instance is being deleted,
* regardless the store being initialised with a definition ({@link initialise()}).
*
* @link http://tracker.moodle.org/browse/MDL-36363
* @see cleanup()
*/
public function instance_deleted() {
$this->cleanup();
}
/**
* Generates an instance of the cache store that can be used for testing.
*

0 comments on commit 86afa1d

Please sign in to comment.