aboutsummaryrefslogtreecommitdiffstats
path: root/mod/smilies.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/smilies.php')
-rw-r--r--mod/smilies.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/mod/smilies.php b/mod/smilies.php
deleted file mode 100644
index 2ccc007b4..000000000
--- a/mod/smilies.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-function smilies_content(&$a) {
- if (App::$argv[1]==="json"){
- $tmp = list_smilies();
- $results = array();
- for($i = 0; $i < count($tmp['texts']); $i++) {
- $results[] = array('text' => $tmp['texts'][$i], 'icon' => $tmp['icons'][$i]);
- }
- json_return_and_die($results);
- }
- else {
- return smilies('',true);
- }
-}