chore: Cleaned up code
This commit is contained in:
parent
4db9237a5b
commit
6cf5d4477b
@ -72,7 +72,8 @@ class Plugin extends ServerPlugin {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
public function initializeStorages($configs) {
|
public function initializeStorages($configs) {
|
||||||
$taskwarrior = new Taskwarrior(new Console(['rc.verbose=nothing', 'rc.hooks=off', 'rc.confirmation=no']), $configs, new Logger($configs, 'Taskwarrior'));
|
$taskwarrior = new Taskwarrior(new Console(['rc.verbose=nothing',
|
||||||
|
'rc.hooks=off', 'rc.confirmation=no']), $configs, new Logger($configs, 'Taskwarrior'));
|
||||||
$this->storageManager->addStorage(Taskwarrior::NAME, $taskwarrior);
|
$this->storageManager->addStorage(Taskwarrior::NAME, $taskwarrior);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -126,8 +127,6 @@ class Plugin extends ServerPlugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method handles the PUT method.
|
* This method handles the PUT method.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user