mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-17444: Backup hooks for local plugin (CR)
Code review changes * Fixed PHPDoc * Fixed missing MOODLE_INTERNAL check
This commit is contained in:
parent
a66e8bb3aa
commit
c7b05a1d1b
@ -16,15 +16,19 @@
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* @package core
|
||||
* @subpackage backup-moodle2
|
||||
* @copyright 2011 David Mudrak <david@moodle.com>
|
||||
* Defines backup_local_plugin class
|
||||
*
|
||||
* @package core_backup
|
||||
* @subpackage moodle2
|
||||
* @category backup
|
||||
* @copyright 2011 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
/**
|
||||
* Base class for local plugins
|
||||
* Class extending standard backup_plugin in order to implement some
|
||||
* helper methods related with the local plugins
|
||||
*/
|
||||
abstract class backup_local_plugin extends backup_plugin {}
|
@ -16,15 +16,19 @@
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* @package moodlecore
|
||||
* @subpackage backup-moodle2
|
||||
* Defines restore_local_plugin class
|
||||
*
|
||||
* @package core_backup
|
||||
* @subpackage moodle2
|
||||
* @category backup
|
||||
* @copyright 2011 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
/**
|
||||
* Class extending standard restore_plugin in order to implement some
|
||||
* helper methods related with local plugins
|
||||
*
|
||||
*/
|
||||
abstract class restore_local_plugin extends restore_plugin {}
|
Loading…
x
Reference in New Issue
Block a user