remove no longer required function
This commit is contained in:
parent
da2d664f58
commit
86e57fd9b0
@ -283,7 +283,6 @@ class TaskManager
|
|||||||
*/
|
*/
|
||||||
private function export($filter = null)
|
private function export($filter = null)
|
||||||
{
|
{
|
||||||
$this->update();
|
|
||||||
$json = $this->taskwarrior->export($filter);
|
$json = $this->taskwarrior->export($filter);
|
||||||
|
|
||||||
return $this->getSerializer()->deserialize($json, 'array<DavidBadura\Taskwarrior\Task>', 'json');
|
return $this->getSerializer()->deserialize($json, 'array<DavidBadura\Taskwarrior\Task>', 'json');
|
||||||
@ -343,18 +342,6 @@ class TaskManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private function update()
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
$this->taskwarrior->command('list');
|
|
||||||
} catch (TaskwarriorException $e) {
|
|
||||||
// do nothing
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param Task $task
|
* @param Task $task
|
||||||
|
Loading…
Reference in New Issue
Block a user