Skip to content

Commit

Permalink
do not update endpoints in cronjobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgloeggl committed Nov 15, 2024
1 parent f48d033 commit 7c8cfea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions cronjobs/opencast_discover_videos.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ public function execute($last_result, $parameters = array())
echo "found opencast with version $version, continuing\n";
}

// update endpoints, just to make sure
$config->updateEndpoints();

// call opencast to get all event ids
$api_client = ApiEventsClient::getInstance($config['id']);
echo 'instantiated api_client' . "\n";
Expand Down
3 changes: 0 additions & 3 deletions cronjobs/opencast_sync_acls.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ public function execute($last_result, $parameters = array())
echo "found opencast with version $version, continuing\n";
}

// update endpoints, just to make sure
$config->updateEndpoints();

// call opencast to get all event ids
$api_client = ApiEventsClient::getInstance($config['id']);

Expand Down

0 comments on commit 7c8cfea

Please sign in to comment.