diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-28 20:24:34 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-28 21:46:00 -0500 |
commit | 101f4a047ab7a5cb0c00f6a34959fb5edda8aa4c (patch) | |
tree | cd9cb74ddb01751937fd21851a0f5b5d84420d3e | |
parent | a80c969202e73380e2188ee7ccbb04a1eaf79f20 (diff) | |
download | ampache-101f4a047ab7a5cb0c00f6a34959fb5edda8aa4c.tar.gz ampache-101f4a047ab7a5cb0c00f6a34959fb5edda8aa4c.tar.bz2 ampache-101f4a047ab7a5cb0c00f6a34959fb5edda8aa4c.zip |
Cosmetics: s/Itterate/Iterate/
-rw-r--r-- | admin/catalog.php | 2 | ||||
-rw-r--r-- | lib/class/catalog.class.php | 2 | ||||
-rw-r--r-- | lib/class/dba.class.php | 2 | ||||
-rw-r--r-- | lib/class/democratic.class.php | 2 | ||||
-rw-r--r-- | lib/class/flag.class.php | 2 | ||||
-rw-r--r-- | lib/class/tag.class.php | 2 | ||||
-rw-r--r-- | server/playlist.ajax.php | 4 |
7 files changed, 8 insertions, 8 deletions
diff --git a/admin/catalog.php b/admin/catalog.php index 936b39a8..8908201f 100644 --- a/admin/catalog.php +++ b/admin/catalog.php @@ -299,7 +299,7 @@ switch ($_REQUEST['action']) { $catalogs = $_REQUEST['catalogs'] ? $_REQUEST['catalogs'] : Catalog::get_catalogs(); - // Itterate throught the catalogs and gather as needed + // Iterate throught the catalogs and gather as needed foreach ($catalogs as $catalog_id) { $catalog = new Catalog($catalog_id); require Config::get('prefix') . '/templates/show_gather_art.inc.php'; diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index df5229a4..3b164317 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -1183,7 +1183,7 @@ class Catalog extends database_object { Error::display('general'); flush(); } - // itterate the songs we retrieved and insert them + // iterate the songs we retrieved and insert them foreach ($songs as $data) { if (!$this->insert_remote_song($data['song'])) { debug_event('REMOTE_INSERT','Remote Insert failed, see previous log messages -' . $data['song']['self']['id'],'1'); diff --git a/lib/class/dba.class.php b/lib/class/dba.class.php index 6469b692..11898604 100644 --- a/lib/class/dba.class.php +++ b/lib/class/dba.class.php @@ -487,7 +487,7 @@ class Dba { $sql = "ALTER TABLE `" . $row['0'] . "` DEFAULT CHARACTER SET $target_charset COLLATE $target_collation"; $alter_table = Dba::write($sql); - // Itterate through the columns of the table + // Iterate through the columns of the table while ($table = Dba::fetch_assoc($describe_results)) { if ( (strpos($table['Type'], 'varchar') !== false) || diff --git a/lib/class/democratic.class.php b/lib/class/democratic.class.php index 31913a07..8b77f786 100644 --- a/lib/class/democratic.class.php +++ b/lib/class/democratic.class.php @@ -344,7 +344,7 @@ class Democratic extends Tmp_Playlist { */ public function add_vote($items) { - /* Itterate through the objects if no vote, add to playlist and vote */ + /* Iterate through the objects if no vote, add to playlist and vote */ foreach ($items as $element) { $type = array_shift($element); $object_id = array_shift($element); diff --git a/lib/class/flag.class.php b/lib/class/flag.class.php index d7fdc811..b01ab316 100644 --- a/lib/class/flag.class.php +++ b/lib/class/flag.class.php @@ -107,7 +107,7 @@ class Flag extends database_object { $results[$row['object_id']] = $row; } - // Itterate through the passed ids as we need to cache 'nulls' + // Iterate through the passed ids as we need to cache 'nulls' foreach ($ids as $id) { parent::add_to_cache('flagged_' . $type,$id,$results[$id]); } diff --git a/lib/class/tag.class.php b/lib/class/tag.class.php index 373a7cbc..03c44ed0 100644 --- a/lib/class/tag.class.php +++ b/lib/class/tag.class.php @@ -474,7 +474,7 @@ class Tag extends database_object { $results = ''; - // Itterate through the tags, format them according to type and element id + // Iterate through the tags, format them according to type and element id foreach ($tags as $tag_id=>$value) { $tag = new Tag($tag_id); $tag->format($type,$element_id); diff --git a/server/playlist.ajax.php b/server/playlist.ajax.php index 5bfe1a99..de63aa0d 100644 --- a/server/playlist.ajax.php +++ b/server/playlist.ajax.php @@ -91,7 +91,7 @@ switch ($_REQUEST['action']) { if (!$playlist_id) { break; } $playlist = new Playlist($playlist_id); - // Itterate through and add them to our new playlist + // Iterate through and add them to our new playlist foreach ($objects as $object_data) { // For now only allow songs on here, we'll change this later $type = array_shift($object_data); @@ -122,7 +122,7 @@ switch ($_REQUEST['action']) { $songs = array(); - // Itterate through and add them to our new playlist + // Iterate through and add them to our new playlist foreach ($objects as $element) { $type = array_shift($element); switch ($type) { |