Skip to content

Commit 3607671

Browse files
committed
Removed core Library::clearCache()
1 parent 9d2faf6 commit 3607671

File tree

1 file changed

+0
-48
lines changed

1 file changed

+0
-48
lines changed

Main.php

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,12 @@
99

1010
namespace gplcart\modules\jquery_file_upload;
1111

12-
use gplcart\core\Library;
13-
1412
/**
1513
* Main class for Jquery File Upload module
1614
*/
1715
class Main
1816
{
1917

20-
/**
21-
* Library class instance
22-
* @var \gplcart\core\Library $library
23-
*/
24-
protected $library;
25-
26-
/**
27-
* @param Library $library
28-
*/
29-
public function __construct(Library $library)
30-
{
31-
$this->library = $library;
32-
}
33-
3418
/**
3519
* Implements hook "library.list"
3620
* @param array $libraries
@@ -51,36 +35,4 @@ public function hookLibraryList(array &$libraries)
5135
);
5236
}
5337

54-
/**
55-
* Implements hook "module.enable.after"
56-
*/
57-
public function hookModuleEnableAfter()
58-
{
59-
$this->library->clearCache();
60-
}
61-
62-
/**
63-
* Implements hook "module.disable.after"
64-
*/
65-
public function hookModuleDisableAfter()
66-
{
67-
$this->library->clearCache();
68-
}
69-
70-
/**
71-
* Implements hook "module.install.after"
72-
*/
73-
public function hookModuleInstallAfter()
74-
{
75-
$this->library->clearCache();
76-
}
77-
78-
/**
79-
* Implements hook "module.uninstall.after"
80-
*/
81-
public function hookModuleUninstallAfter()
82-
{
83-
$this->library->clearCache();
84-
}
85-
8638
}

0 commit comments

Comments
 (0)