fixed a few spelling errors in /admin/

This commit is contained in:
Petr Skoda
2010-09-17 10:27:26 +00:00
parent 820f107a10
commit eab8ed9fb7
40 changed files with 79 additions and 79 deletions
+2 -2
View File
@@ -258,7 +258,7 @@ class csv_import_reader {
*
* @return array suitable for selection box
*/
function get_delimiter_list() {
static function get_delimiter_list() {
global $CFG;
$delimiters = array('comma'=>',', 'semicolon'=>';', 'colon'=>':', 'tab'=>'\\t');
if (isset($CFG->CSV_DELIMITER) and strlen($CFG->CSV_DELIMITER) === 1 and !in_array($CFG->CSV_DELIMITER, $delimiters)) {
@@ -273,7 +273,7 @@ class csv_import_reader {
* @param string separator name
* @return string delimiter char
*/
function get_delimiter($delimiter_name) {
static function get_delimiter($delimiter_name) {
global $CFG;
switch ($delimiter_name) {
case 'colon': return ':';