more for #224
This commit is contained in:
parent
5f24802df0
commit
db42f1186f
|
@ -38,7 +38,7 @@ const QVITTERDIR = __DIR__;
|
||||||
|
|
||||||
class QvitterPlugin extends Plugin {
|
class QvitterPlugin extends Plugin {
|
||||||
|
|
||||||
protected $hijack_ui = true;
|
protected $hijack_ui = false;
|
||||||
protected $qvitter_hide_replies = false;
|
protected $qvitter_hide_replies = false;
|
||||||
|
|
||||||
static function settings($setting)
|
static function settings($setting)
|
||||||
|
@ -141,10 +141,6 @@ class QvitterPlugin extends Plugin {
|
||||||
elseif(self::settings('enabledbydefault') === false && $qvitter_enabled_by_user == 1) {
|
elseif(self::settings('enabledbydefault') === false && $qvitter_enabled_by_user == 1) {
|
||||||
$this->hijack_ui = true;
|
$this->hijack_ui = true;
|
||||||
}
|
}
|
||||||
// otherwise we do not reroute
|
|
||||||
else {
|
|
||||||
$this->hijack_ui = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// show qvitter link in the admin panel
|
// show qvitter link in the admin panel
|
||||||
common_config_append('admin', 'panels', 'qvitteradm');
|
common_config_append('admin', 'panels', 'qvitteradm');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user