chamilo/chamilo-lms

View on GitHub
public/plugin/notebookteacher/update.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/* For license terms, see /license.txt */
/**
 * This script is included by main/admin/settings.lib.php and generally
 * includes things to execute in the main database (settings_current table).
 */
require_once __DIR__.'/config.php';

if (!api_is_platform_admin()) {
    exit('You must have admin permissions to install plugins');
}
NotebookTeacherPlugin::create()->update();