CC-84: Smart Playlists

- added 'Smart Block' filter in datatable
- added block files to library datatable
This commit is contained in:
denise 2012-07-25 17:08:22 -04:00
parent 1f3cbd8aba
commit bef9ba1eea
9 changed files with 147 additions and 50 deletions

View file

@ -56,7 +56,7 @@ class Application_Model_Playlist
}
} else {
$this->pl = new CcPlaylist();
$this->pl->setDbUTime("now", new DateTimeZone("UTC"));
$this->pl->setDbUTime(new DateTime("now", new DateTimeZone("UTC")));
$this->pl->save();
}
@ -135,6 +135,9 @@ class Application_Model_Playlist
public function getLastModified($format = null)
{
//Logging::log($this->pl->getDbMtime($format));
//Logging::log($this->pl);
Logging::log("5555");
return $this->pl->getDbMtime($format);
}