MDL-45724 cache: added cache API warnings to the admin notifications page
This commit is contained in:
Vendored
+5
-1
@@ -345,7 +345,11 @@ 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 string[] Returns an array of warnings (strings)
|
||||
* @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),
|
||||
* );
|
||||
*/
|
||||
public function get_warnings() {
|
||||
return array();
|
||||
|
||||
Reference in New Issue
Block a user