MDL-86656 task: remove spurious mtrace parameters in calling code.
Co-authored-by: Jason Lees <[email protected]>
This commit is contained in:
co-authored by
Jason Lees
parent
7838e3f247
commit
365649a8b7
@@ -14,18 +14,8 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Sync users task
|
||||
* @package auth_db
|
||||
* @author Guy Thomas <[email protected]>
|
||||
* @copyright Copyright (c) 2017 Blackboard Inc.
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
namespace auth_db\task;
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
/**
|
||||
* Sync users task class
|
||||
* @package auth_db
|
||||
@@ -49,7 +39,7 @@ class sync_users extends \core\task\scheduled_task {
|
||||
*/
|
||||
public function execute() {
|
||||
if (!is_enabled_auth('db')) {
|
||||
mtrace('auth_db plugin is disabled, synchronisation stopped', 2);
|
||||
mtrace('auth_db plugin is disabled, synchronisation stopped');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user