googlereadertheme: check for UID being present

master
Andrew Dolgov 12 years ago
parent 08dfc22391
commit 11191fdba1

@ -14,8 +14,10 @@ class GoogleReaderTheme extends Plugin {
$this->link = $host->get_link(); $this->link = $host->get_link();
$this->host = $host; $this->host = $host;
// force-enable combined mode if ($_SESSION["uid"]) {
set_pref($this->link, "COMBINED_DISPLAY_MODE", true); // force-enable combined mode
set_pref($this->link, "COMBINED_DISPLAY_MODE", true, $_SESSION["uid"]);
}
} }
function get_css() { function get_css() {

Loading…
Cancel
Save