chore: Cleaned up code

This commit is contained in:
Aerex 2021-07-02 19:39:08 -05:00
parent 4db9237a5b
commit 6cf5d4477b
1 changed files with 2 additions and 3 deletions

View File

@ -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);
} }
@ -125,8 +126,6 @@ class Plugin extends ServerPlugin {
return; return;
} }
} }
/** /**
* This method handles the PUT method. * This method handles the PUT method.