Skip to content

Commit

Permalink
bump version and resolve deprecations
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Jan 16, 2020
1 parent 8cf3f8c commit ebf0d40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion appinfo/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
*
*/

$app = new \OCA\WorkflowScript\AppInfo\Application();
$app = \OC::$server->query(\OCA\WorkflowScript\AppInfo\Application::class);
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<name>Workflow external scripts</name>
<summary>Rule based processing of files through specified external scripts</summary>
<description>Pass files on to external scripts depending on a defined set of rules.</description>
<version>1.3.0</version>
<version>1.3.1</version>
<licence>agpl</licence>
<author mail="[email protected]">Arthur Schiwon</author>
<namespace>WorkflowScript</namespace>
Expand Down
2 changes: 1 addition & 1 deletion lib/Operation.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function onEvent(string $eventName, Event $event, IRuleMatcher $ruleMatch
return;
}

$matches = $ruleMatcher->getMatchingOperations(Operation::class, false);
$matches = $ruleMatcher->getFlows(false);
foreach ($matches as $match) {
$command = $this->buildCommand($match['operation'], $node, $eventName, $extra);
$args = ['command' => $command];
Expand Down

0 comments on commit ebf0d40

Please sign in to comment.