summaryrefslogtreecommitdiffstats
path: root/includes/giglog_visitor_display.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2023-01-19 20:17:55 +0100
committerHarald Eilertsen <haraldei@anduin.net>2023-01-19 20:17:55 +0100
commitf499d9e657fe79e4413eec9e20ae13d616fac6f5 (patch)
tree616588346d0dc9337b2cd096cf2af7320dcc060f /includes/giglog_visitor_display.php
parenta5a9bb640306a69ec8f9a3c3701c49f34d3e7ebc (diff)
downloadgigologadmin-f499d9e657fe79e4413eec9e20ae13d616fac6f5.tar.gz
gigologadmin-f499d9e657fe79e4413eec9e20ae13d616fac6f5.tar.bz2
gigologadmin-f499d9e657fe79e4413eec9e20ae13d616fac6f5.zip
Rename and restructure source files to conform to common namin schemes.
- Source files containing a class should only contain _one_ class. - Source files containing a class should be names class-[name of the class].php - Use dashes instead of underscores in file names. - Fix source file comments - Some nitpicking...
Diffstat (limited to 'includes/giglog_visitor_display.php')
-rw-r--r--includes/giglog_visitor_display.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/includes/giglog_visitor_display.php b/includes/giglog_visitor_display.php
deleted file mode 100644
index b803bec..0000000
--- a/includes/giglog_visitor_display.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php declare(strict_types=1);
-// SPDX-FileCopyrightText: 2022 Andrea Chirulescu <andrea.chirulescu@gmail.com>
-// SPDX-FileCopyrightText: 2022 Harald Eilertsen <haraldei@anduin.net>
-//
-// SPDX-License-Identifier: AGPL-3.0-or-later
-
-function display_giglog() : string {
- $c = new GiglogAdmin_ConcertsTable();
- return $c->render();
-}
-
-add_shortcode( 'getconcerts', 'display_giglog' );
-