summaryrefslogtreecommitdiff
path: root/includes/model/Sprache_model.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2013-11-25 21:07:08 +0100
committerPhilip Häusler <msquare@notrademark.de>2013-11-25 21:07:08 +0100
commit813751ac7a0e3f17af791397fa7e6b60d526f0a0 (patch)
treeca1a0949a37b4dc61b261b908d7dc028fcbbb3ef /includes/model/Sprache_model.php
parentaad54bfe885e2ce69801597c791bff4b7f0e1521 (diff)
language cleanup
Diffstat (limited to 'includes/model/Sprache_model.php')
-rw-r--r--includes/model/Sprache_model.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/includes/model/Sprache_model.php b/includes/model/Sprache_model.php
deleted file mode 100644
index 0b18dbca..00000000
--- a/includes/model/Sprache_model.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-/**
- * Load a string by key.
- *
- * @param string $textid
- * @param string $sprache
- */
-function Sprache($textid, $sprache) {
- $sprache_source = sql_select("
- SELECT *
- FROM `Sprache`
- WHERE `TextID`='" . sql_escape($textid) . "'
- AND `Sprache`='" . sql_escape($sprache) . "'
- LIMIT 1
- ");
- if ($sprache_source === false)
- return false;
- if (count($sprache_source) == 1)
- return $sprache_source[0];
- return null;
-}
-
-?> \ No newline at end of file