diff options
Diffstat (limited to 'includes/model')
-rw-r--r-- | includes/model/Sprache_model.php | 24 |
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 |