summaryrefslogtreecommitdiffstats
path: root/lib/class/update.class.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-28 17:48:00 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-28 21:23:14 -0500
commita6b70f9eba2bc4482ce1d432ae248663455a6a27 (patch)
treefe3e3c3c64c39e462000464f7c4b725f8ae5468a /lib/class/update.class.php
parentead4cf2a0e9d41b5874dfcb6c753b18ed675cc0c (diff)
downloadampache-a6b70f9eba2bc4482ce1d432ae248663455a6a27.tar.gz
ampache-a6b70f9eba2bc4482ce1d432ae248663455a6a27.tar.bz2
ampache-a6b70f9eba2bc4482ce1d432ae248663455a6a27.zip
Rename the 'local' auth method to 'pam'
It's what it should have been from the start.
Diffstat (limited to 'lib/class/update.class.php')
-rw-r--r--lib/class/update.class.php16
1 files changed, 14 insertions, 2 deletions
diff --git a/lib/class/update.class.php b/lib/class/update.class.php
index bfaefc65..b4517572 100644
--- a/lib/class/update.class.php
+++ b/lib/class/update.class.php
@@ -370,6 +370,8 @@ class Update {
$update_string = '- Add table to store stream session playlist.<br />';
$version[] = array('version' => '360011', 'description' => $update_string);
+ $update_string = '- Drop enum for the type field in session.<br />';
+ $version[] = array('version' => '360012', 'description' => $update_string);
return $version;
} // populate_version
@@ -2083,7 +2085,7 @@ class Update {
}
/**
- * update_380011
+ * update_360011
* We need a place to store actual playlist data for downloadable
* playlist files.
*/
@@ -2104,5 +2106,15 @@ class Update {
self::set_version('db_version', '360011');
}
-} // end update class
+ /**
+ * update_360012()
+ *
+ * Drop the enum on session.type
+ */
+ public static function update_360012() {
+ Dba::write('ALTER TABLE `session` CHANGE `type` `type` VARCHAR(16) DEFAULT NULL');
+ self::set_version('db_version', '360012');
+ }
+
+}
?>