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.
34 lines
670 B
34 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();
|
|
}
|
|
}
|
|
|