aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Command/AsyncBus.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Command/AsyncBus.php')
-rw-r--r--lib/private/Command/AsyncBus.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/private/Command/AsyncBus.php b/lib/private/Command/AsyncBus.php
index fb7860c9dd8..11d78ad7a09 100644
--- a/lib/private/Command/AsyncBus.php
+++ b/lib/private/Command/AsyncBus.php
@@ -21,11 +21,6 @@ abstract class AsyncBus implements IBus {
*/
private $syncTraits = [];
- /**
- * Schedule a command to be fired
- *
- * @param \OCP\Command\ICommand | callable $command
- */
public function push($command) {
if ($this->canRunAsync($command)) {
$this->queueCommand($command);
@@ -41,11 +36,6 @@ abstract class AsyncBus implements IBus {
*/
abstract protected function queueCommand($command);
- /**
- * Require all commands using a trait to be run synchronous
- *
- * @param string $trait
- */
public function requireSync($trait) {
$this->syncTraits[] = trim($trait, '\\');
}