summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-26 09:22:16 +0300
committerAndrew Dolgov <[email protected]>2021-02-26 09:22:16 +0300
commit7815a881e87b4818614cd9426bbb045c6ded5b68 (patch)
tree00fa5b66196694f96fc3f2d47bb92d211f88eb49 /include/functions.php
parent56b10fea1805b4ff0e7129adb8216d4d89b74147 (diff)
cleanup previous
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/functions.php b/include/functions.php
index d96b8c089..e0580a076 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -443,18 +443,6 @@
return in_array($interface, class_implements($class));
}
- function T_js_decl($s1, $s2) {
- if ($s1 && $s2) {
- $s1 = preg_replace("/\n/", "", $s1);
- $s2 = preg_replace("/\n/", "", $s2);
-
- $s1 = preg_replace("/\"/", "\\\"", $s1);
- $s2 = preg_replace("/\"/", "\\\"", $s2);
-
- return "T_messages[\"$s1\"] = \"$s2\";\n";
- }
- }
-
function get_theme_path($theme) {
$check = "themes/$theme";
if (file_exists($check)) return $check;