File tree Expand file tree Collapse file tree 1 file changed +0
-48
lines changed Expand file tree Collapse file tree 1 file changed +0
-48
lines changed Original file line number Diff line number Diff line change 99
1010namespace gplcart \modules \jquery_file_upload ;
1111
12- use gplcart \core \Library ;
13-
1412/**
1513 * Main class for Jquery File Upload module
1614 */
1715class 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}
You can’t perform that action at this time.
0 commit comments