Skip to content

Commit 283a8eb

Browse files
committed
call_trigger: debug msg with timestamp 2
1 parent 97c84e7 commit 283a8eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

classes/processor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ class processor {
5353
* Processes the trigger plugins for all relevant courses.
5454
*/
5555
public function call_trigger() {
56-
global $PAGE;
56+
global $FULLSCRIPT;
5757

58-
$run = isset($PAGE->url) && strpos($PAGE->url, 'run.php') !== false;
58+
$run = str_contains($FULLSCRIPT, 'run.php');
5959

6060
$activeworkflows = workflow_manager::get_active_automatic_workflows();
6161
$exclude = [];

0 commit comments

Comments
 (0)