summaryrefslogtreecommitdiffstats
path: root/giglogadmin.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-01-17 20:48:09 +0100
committerHarald Eilertsen <haraldei@anduin.net>2021-01-17 21:24:21 +0100
commit6554ae2e81a9aef9d55ddacb3eaf6014f88f8502 (patch)
tree585a0378598e5312ed7bec7515813af8de7f7bdf /giglogadmin.php
parent5c0d96cc7cd1b4b477f264d7dec73c652d3b4490 (diff)
downloadgigologadmin-6554ae2e81a9aef9d55ddacb3eaf6014f88f8502.tar.gz
gigologadmin-6554ae2e81a9aef9d55ddacb3eaf6014f88f8502.tar.bz2
gigologadmin-6554ae2e81a9aef9d55ddacb3eaf6014f88f8502.zip
Fix embarrasing misnaming of module.
Diffstat (limited to 'giglogadmin.php')
-rw-r--r--giglogadmin.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/giglogadmin.php b/giglogadmin.php
new file mode 100644
index 0000000..977acbd
--- /dev/null
+++ b/giglogadmin.php
@@ -0,0 +1,34 @@
+<?php
+/**
+ * Gigolog Admin
+ *
+ * @package giglogadmin
+ * @author Andrea Chirulescu, Harald Eilertsen
+ * @copright 2021 Andrea Chirulescu, Harald Eilertsen
+ * @license AGPL-3.0
+ *
+ * @wordpress-plugin
+ * Plugin Name: Giglog Admin
+ * Plugin URI: https://code.volse.no/wp/plugins/giglogadmin
+ * Description: Scheduling journalists and photographers to cover concerts or events.
+ * Version: 0.1.0
+ * Author: Andrea Chirulescu, Harald Eilertsen
+ * License: AGPLv3
+ * License URI: https://www.gnu.org/licenses/agpl-3.0.txthttps://www.gnu.org/licenses/agpl-3.0.txt
+ */
+
+if ( !class_exists( 'GiglogAdmin_Plugin' ) ) {
+ class GiglogAdmin_Plugin
+ {
+ static function activate() {
+ require_once __DIR__ . '/includes/admin/register_db_tables.php';
+ }
+
+ static function deactivate() {
+ }
+ }
+
+ register_activation_hook( __FILE__, array( 'GiglogAdmin_Plugin', 'activate' ));
+ register_deactivation_hook( __FILE__, array( 'GiglogAdmin_Plugin', 'deactivate' ));
+}
+?>