* SAAS-1084 - initial work on publishing API backend

* More work on automatic ingest
* Add automatic_ingest_timestamp column to ImportedPodcast
This commit is contained in:
Duncan Sommerville 2015-10-20 19:03:34 -04:00
parent 3a791ef9b5
commit 0b1df6baf3
27 changed files with 490 additions and 106 deletions

View file

@ -1525,4 +1525,13 @@ class Application_Model_Preference
{
self::setValue("station_podcast_id", $value);
}
public static function getStationPodcastDownloadKey() {
return self::getValue("station_podcast_download_key");
}
public static function setStationPodcastDownloadKey($value = null) {
$value = empty($value) ? (new Application_Model_Auth())->generateRandomString() : $value;
self::setValue("station_podcast_download_key", $value);
}
}