add Exception class to plugin namespace
parent
478416d063
commit
a45b83b1d0
|
@ -27,7 +27,6 @@ use Dotclear\Helper\Html\Form\{
|
|||
Note,
|
||||
Para
|
||||
};
|
||||
use Exception;
|
||||
|
||||
class Config extends dcNsProcess
|
||||
{
|
||||
|
|
|
@ -16,7 +16,6 @@ namespace Dotclear\Plugin\pacKman;
|
|||
|
||||
use dcCore;
|
||||
use dcModules;
|
||||
use Exception;
|
||||
use files;
|
||||
use fileUnzip;
|
||||
use path;
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
/**
|
||||
* @brief pacKman, a plugin for Dotclear 2
|
||||
*
|
||||
* @package Dotclear
|
||||
* @subpackage Plugin
|
||||
*
|
||||
* @author Jean-Christian Denis
|
||||
*
|
||||
* @copyright Jean-Christian Denis
|
||||
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Dotclear\Plugin\pacKman;
|
||||
|
||||
use Exception as PhpException;
|
||||
|
||||
class Exception extends PhpException
|
||||
{
|
||||
}
|
|
@ -17,7 +17,6 @@ namespace Dotclear\Plugin\pacKman;
|
|||
use dcCore;
|
||||
use dcNamespace;
|
||||
use dcNsProcess;
|
||||
use Exception;
|
||||
|
||||
class Install extends dcNsProcess
|
||||
{
|
||||
|
|
|
@ -24,9 +24,6 @@ use dcNsProcess;
|
|||
use files;
|
||||
use http;
|
||||
|
||||
/* php ns */
|
||||
use Exception;
|
||||
|
||||
class Manage extends dcNsProcess
|
||||
{
|
||||
public static function init(): bool
|
||||
|
|
|
@ -24,9 +24,6 @@ use form;
|
|||
use html;
|
||||
use path;
|
||||
|
||||
/* php */
|
||||
use Exception;
|
||||
|
||||
class Utils
|
||||
{
|
||||
public static function getPluginsPath(): string
|
||||
|
|
Loading…
Reference in New Issue