summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-09-06 11:44:45 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-09 22:56:05 +0200
commit5891ec602f45cebd7d991814c2ca57929f9085ed (patch)
treebab1785fdbf446beded1fec4157f4b4b80070931
parent36624def94b001858b9ed80bea0557508a9fabf7 (diff)
downloadnextcloud-server-5891ec602f45cebd7d991814c2ca57929f9085ed.tar.gz
nextcloud-server-5891ec602f45cebd7d991814c2ca57929f9085ed.zip
Return actual event data instead of self calling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--lib/public/WorkflowEngine/GenericEntityEvent.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/WorkflowEngine/GenericEntityEvent.php b/lib/public/WorkflowEngine/GenericEntityEvent.php
index d72093573bf..f556eb93b22 100644
--- a/lib/public/WorkflowEngine/GenericEntityEvent.php
+++ b/lib/public/WorkflowEngine/GenericEntityEvent.php
@@ -51,7 +51,7 @@ class GenericEntityEvent implements IEntityEvent {
* @since 18.0.0
*/
public function getDisplayName(): string {
- return $this->getDisplayName();
+ return $this->displayName;
}
/**
@@ -62,6 +62,6 @@ class GenericEntityEvent implements IEntityEvent {
* @since 18.0.0
*/
public function getEventName(): string {
- return $this->getEventName();
+ return $this->eventName;
}
}