MDL-10107 Fixed the definition of message providers ... it now works through files...
[moodle.git] / lib / db / messages.php
1 <?php // $Id$
3 ///////////////////////////////////////////////////////////////////////////
4 // Defines message providers (types of messages being sent)              //
5 ///////////////////////////////////////////////////////////////////////////
6 //                                                                       //
7 // NOTICE OF COPYRIGHT                                                   //
8 //                                                                       //
9 // Moodle - Modular Object-Oriented Dynamic Learning Environment         //
10 //          http://moodle.org                                            //
11 //                                                                       //
12 // Copyright (C) 1999 onwards  Martin Dougiamas  http://moodle.com       //
13 //                                                                       //
14 // This program is free software; you can redistribute it and/or modify  //
15 // it under the terms of the GNU General Public License as published by  //
16 // the Free Software Foundation; either version 2 of the License, or     //
17 // (at your option) any later version.                                   //
18 //                                                                       //
19 // This program is distributed in the hope that it will be useful,       //
20 // but WITHOUT ANY WARRANTY; without even the implied warranty of        //
21 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //
22 // GNU General Public License for more details:                          //
23 //                                                                       //
24 //          http://www.gnu.org/copyleft/gpl.html                         //
25 //                                                                       //
26 ///////////////////////////////////////////////////////////////////////////
29 $messageproviders = array (
31 /// Notices that an admin might be interested in
32     'notices' => array ( 
33          'capability'  => 'moodle/site:config'
34     ),
36 /// Important errors that an admin ought to know about
37     'errors' => array (
38          'capability'  => 'moodle/site:config'
39     )
41 );
46 ?>