Skip to content

Commit 3856dfd

Browse files
authored
Merge pull request #10 from jigarakatidus/dminko-patch-2
remove depricated mode
2 parents f4a7ee7 + d0dfb28 commit 3856dfd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: src/Signal.php

-6
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,13 @@ public function unregister(): bool
7171
/**
7272
* Uses a list of phone numbers to determine the statuses of those users.
7373
* Shows if they are registered on the Signal Servers or not.
74-
* In json mode this is outputted as a list of objects.
7574
* @param array $recipients One or more numbers to check.
7675
* @return string
7776
*/
7877
public function getUserStatus(array $recipients): string
7978
{
80-
$formatArg = $this->format == self::FORMAT_JSON ? '--'.self::FORMAT_JSON : '';
81-
8279
$this->command->addArg('getUserStatus', $recipients);
8380

84-
if(!empty($formatArg)){
85-
$this->command->addArg($formatArg, null, false);
86-
}
8781
$this->command->execute();
8882

8983
return $this->command->getOutput(false);

0 commit comments

Comments
 (0)