aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/Application.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/namespace/Application.php')
-rw-r--r--core/namespace/Application.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/core/namespace/Application.php b/core/namespace/Application.php
index 1f1e6f6..8346248 100644
--- a/core/namespace/Application.php
+++ b/core/namespace/Application.php
@@ -11,7 +11,6 @@ class Application {
private static $Language;
private static $Migrator;
private static $repositories = [];
- private static $contentFunctions = [];
#===============================================================================
# Configuration array
@@ -224,14 +223,7 @@ class Application {
contain only numbers, uppercase letters and underscores!');
}
- self::$contentFunctions[$name] = $callback;
- }
-
- #===============================================================================
- # Return all known content functions
- #===============================================================================
- public static function getContentFunctions(): array {
- return self::$contentFunctions;
+ FunctionParser::register($name, $callback);
}
#===============================================================================