fumbling in the dark #224
This commit is contained in:
parent
db42f1186f
commit
f099e37d13
|
@ -130,15 +130,15 @@ class QvitterPlugin extends Plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
// reroute to qvitter if we're logged out and qvitter is enabled by default
|
// reroute to qvitter if we're logged out and qvitter is enabled by default
|
||||||
if(self::settings('enabledbydefault') === true && is_null($scoped)) {
|
if($this->settings('enabledbydefault') === true && is_null($scoped)) {
|
||||||
$this->hijack_ui = true;
|
$this->hijack_ui = true;
|
||||||
}
|
}
|
||||||
// if we're logged in and qvitter is enabled by default, reroute if the user has not disabled qvitter
|
// if we're logged in and qvitter is enabled by default, reroute if the user has not disabled qvitter
|
||||||
elseif(self::settings('enabledbydefault') === true && $qvitter_disabled_by_user == 0){
|
elseif($this->settings('enabledbydefault') === true && $qvitter_disabled_by_user == 0){
|
||||||
$this->hijack_ui = true;
|
$this->hijack_ui = true;
|
||||||
}
|
}
|
||||||
// if we're logged in, and qvitter is _not_ enabled by default, reroute if the user enabled qvitter
|
// if we're logged in, and qvitter is _not_ enabled by default, reroute if the user enabled qvitter
|
||||||
elseif(self::settings('enabledbydefault') === false && $qvitter_enabled_by_user == 1) {
|
elseif($this->settings('enabledbydefault') === false && $qvitter_enabled_by_user == 1) {
|
||||||
$this->hijack_ui = true;
|
$this->hijack_ui = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user