summaryrefslogtreecommitdiffstats
path: root/gigologadmin.php
diff options
context:
space:
mode:
Diffstat (limited to 'gigologadmin.php')
-rw-r--r--gigologadmin.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/gigologadmin.php b/gigologadmin.php
index 6d57ff0..0a3bb94 100644
--- a/gigologadmin.php
+++ b/gigologadmin.php
@@ -16,4 +16,19 @@
* License: AGPLv3
* License URI: https://www.gnu.org/licenses/agpl-3.0.txthttps://www.gnu.org/licenses/agpl-3.0.txt
*/
+
+if ( !class_exists( 'GigologAdmin_Plugin' ) ) {
+ class GigologAdmin_Plugin
+ {
+ static function activate() {
+ require_once __DIR__ . '/includes/admin/register_db_tables.php';
+ }
+
+ static function deactivate() {
+ }
+ }
+
+ register_activation_hook( __FILE__, array( 'GigologAdmin_Plugin', 'activate' ));
+ register_deactivation_hook( __FILE__, array( 'GigologAdmin_Plugin', 'deactivate' ));
+}
?>