* Removed getNsIndex(), no longer needed
[lhc/web/wiklou.git] / languages / LanguageTh.php
index 732c19b..6e5338b 100644 (file)
@@ -291,20 +291,6 @@ class LanguageTh extends LanguageUtf8 {
                return $wgNamespaceNamesTh;
        }
 
-       function getNsText( $index ) {
-               global $wgNamespaceNamesTh;
-               return $wgNamespaceNamesTh[$index];
-       }
-
-       function getNsIndex( $text ) {
-               global $wgNamespaceNamesTh;
-
-               foreach ( $wgNamespaceNamesTh as $i => $n ) {
-                       if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
-               }
-               return false;
-       }
-
        function getQuickbarSettings() {
                global $wgQuickbarSettingsTh;
                return $wgQuickbarSettingsTh;