summaryrefslogtreecommitdiff
path: root/includes/function.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/function.inc')
-rw-r--r--includes/function.inc12
1 files changed, 0 insertions, 12 deletions
diff --git a/includes/function.inc b/includes/function.inc
index e564b3149..98a9da53e 100644
--- a/includes/function.inc
+++ b/includes/function.inc
@@ -1,17 +1,5 @@
<?
-function load_theme() {
- global $user, $themes;
-
- if ($user->theme && file_exists($themes[$user->theme][0])) {
- include_once $themes[$user->theme][0];
- }
- else {
- include_once $themes[key($themes)][0];
- }
- return new Theme();
-}
-
function check_textfield($message) {
global $allowed_html;
return strip_tags(str_replace("\"", "&quot;", stripslashes($message)), $allowed_html);