From 451857f4a7e24b8102d5b172c22972a8f1ee4ce0 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 12 Feb 2017 21:42:39 +0100 Subject: [PATCH] Bulkl path fix --- Admin/Activate.php | 44 ---------------------- Admin/Deactivate.php | 44 ---------------------- Admin/Install/Navigation.install.json | 34 ----------------- Admin/Install/Navigation.php | 40 -------------------- Admin/Installer.php | 43 --------------------- Admin/Routes/Web/Backend.php | 3 -- Admin/Routes/console.php | 3 -- Admin/Routes/socket.php | 3 -- Admin/Uninstall.php | 43 --------------------- Admin/Update.php | 46 ----------------------- README.md | 0 Theme/Backend/Lang/Navigation.en.lang.php | 17 --------- info.json | 35 ----------------- 13 files changed, 355 deletions(-) delete mode 100644 Admin/Activate.php delete mode 100644 Admin/Deactivate.php delete mode 100644 Admin/Install/Navigation.install.json delete mode 100644 Admin/Install/Navigation.php delete mode 100644 Admin/Installer.php delete mode 100644 Admin/Routes/Web/Backend.php delete mode 100644 Admin/Routes/console.php delete mode 100644 Admin/Routes/socket.php delete mode 100644 Admin/Uninstall.php delete mode 100644 Admin/Update.php delete mode 100644 README.md delete mode 100644 Theme/Backend/Lang/Navigation.en.lang.php delete mode 100644 info.json diff --git a/Admin/Activate.php b/Admin/Activate.php deleted file mode 100644 index 743435f..0000000 --- a/Admin/Activate.php +++ /dev/null @@ -1,44 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\BusinessExpenses\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\ActivateAbstract; -use phpOMS\Module\InfoManager; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Activate extends ActivateAbstract -{ - - /** - * {@inheritdoc} - */ - public static function activate(DatabasePool $dbPool, InfoManager $info) - { - parent::activate($dbPool, $info); - } -} diff --git a/Admin/Deactivate.php b/Admin/Deactivate.php deleted file mode 100644 index 4a712c7..0000000 --- a/Admin/Deactivate.php +++ /dev/null @@ -1,44 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\BusinessExpenses\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\DeactivateAbstract; -use phpOMS\Module\InfoManager; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Deactivate extends DeactivateAbstract -{ - - /** - * {@inheritdoc} - */ - public static function deactivate(DatabasePool $dbPool, InfoManager $info) - { - parent::deactivate($dbPool, $info); - } -} diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json deleted file mode 100644 index 4e4c591..0000000 --- a/Admin/Install/Navigation.install.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "id": 1001001001, - "pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd", - "type": 2, - "subtype": 1, - "name": "BusinessExpenses", - "uri": "?{?}", - "target": "self", - "icon": null, - "order": 40, - "from": 1001000000, - "permission": null, - "parent": 1002401001, - "children": [ - { - "id": 1001002001, - "pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd", - "type": 2, - "subtype": 1, - "name": "List", - "uri": "?{?}", - "target": "self", - "icon": null, - "order": 40, - "from": 1001000000, - "permission": null, - "parent": 1001001001, - "children": [ - ] - } - ] - } -] diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php deleted file mode 100644 index 9b3b50c..0000000 --- a/Admin/Install/Navigation.php +++ /dev/null @@ -1,40 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\BusinessExpenses\Admin\Install; -use phpOMS\DataStorage\Database\DatabasePool; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Navigation -{ - public static function install(string $path, DatabasePool $dbPool) - { - $navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true); - - $class = '\\Modules\\Navigation\\Admin\\Installer'; - /** @var $class \Modules\Navigation\Admin\Installer */ - $class::installExternal($dbPool, $navData); - } -} diff --git a/Admin/Installer.php b/Admin/Installer.php deleted file mode 100644 index 305a7a0..0000000 --- a/Admin/Installer.php +++ /dev/null @@ -1,43 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\BusinessExpenses\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\InstallerAbstract; - -/** - * Navigation class. - * - * @category Modules - * @package Framework - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Installer extends InstallerAbstract -{ - - /** - * {@inheritdoc} - */ - public static function install(string $path, DatabasePool $dbPool, InfoManager $info) - { - parent::install($path, $dbPool, $info); - } -} diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php deleted file mode 100644 index 0b67a5f..0000000 --- a/Admin/Routes/Web/Backend.php +++ /dev/null @@ -1,3 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\BusinessExpenses\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\UninstallAbstract; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Uninstall extends UninstallAbstract -{ - - /** - * {@inheritdoc} - */ - public static function uninstall(DatabasePool $dbPool, InfoManager $info) - { - parent::uninstall($dbPool, $info); - } -} diff --git a/Admin/Update.php b/Admin/Update.php deleted file mode 100644 index 2dc5cb0..0000000 --- a/Admin/Update.php +++ /dev/null @@ -1,46 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\BusinessExpenses\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\UpdateAbstract; -use phpOMS\System\File\Directory; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Update extends UpdateAbstract -{ - - /** - * {@inheritdoc} - */ - public static function update(DatabasePool $dbPool, array $info) - { - Directory::deletePath(__DIR__ . '/Update'); - mkdir('Update'); - parent::update($dbPool, $info); - } -} diff --git a/README.md b/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php deleted file mode 100644 index d28b242..0000000 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ /dev/null @@ -1,17 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -return ['Navigation' => [ -]]; diff --git a/info.json b/info.json deleted file mode 100644 index b53edc0..0000000 --- a/info.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": { - "id": 1001000000, - "internal": "BusinessExpenses", - "external": "OMS Accounts Receivable" - }, - "version": "1.0.0", - "requirements": { - "phpOMS": "1.0.0", - "phpOMS-db": "1.0.0" - }, - "creator": { - "name": "Orange Management", - "website": "www.spl1nes.com" - }, - "description": "Accounting module.", - "directory": "BusinessExpenses", - "dependencies": { - "Admin" : "1.0.0" - }, - "providing": { - "Navigation": "*" - }, - "load": [ - { - "pid": [ - "754a08ddf8bcb1cf22f310f09206dd783d42f7dd" - ], - "type": 5, - "from": "BusinessExpenses", - "for": "Navigation", - "file": "Navigation" - } - ] -}