Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/plugin/cleandeletedfiles/src/CleanDeletedFilesPlugin.php

35 lines
670 B

<?php
/* For licensing terms, see /license.txt */
/**
* Clean deleted files plugin.
*
* @author Jose Angel Ruiz
*/
class CleanDeletedFilesPlugin extends Plugin
{
public $isAdminPlugin = true;
/**
* Class constructor.
*/
protected function __construct()
{
$version = '1.0';
$author = 'José Angel Ruiz (NOSOLORED)';
parent::__construct($version, $author, ['enabled' => 'boolean']);
$this->isAdminPlugin = true;
}
/**
* @return RedirectionPlugin
*/
public static function create()
{
static $result = null;
return $result ? $result : $result = new self();
}
}