MDL-45724 cache: fixed warning structure bug

This commit is contained in:
Sam Hemelryk
2014-07-23 15:24:59 +12:00
parent 919dc292b9
commit ed2de2ecc7
3 changed files with 7 additions and 7 deletions
+1 -5
View File
@@ -372,11 +372,7 @@ abstract class cache_store implements cache_store_interface {
* This should be used to notify things like configuration conflicts etc.
* The warnings returned here will be displayed on the cache configuration screen.
*
* @return array[] Returns an array of arrays with the format:
* $notifications = array(
* array('This is a success message', true),
* array('This is a failure message', false),
* );
* @return string[] An array of warning strings from the store instance.
*/
public function get_warnings() {
return array();