Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 5e4d27c

Browse files
Merge pull request #167 from vyskocilpavel/hook
Rename the hook correctly to naming convention
2 parents c26f89a + 364966a commit 5e4d27c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
55
#### Fixed
66
- Detailed endpoint format when spaced in EndpointMapToArray
77
- Revert change to INDEX_MIN in EndpointMapToArray
8+
- Rename the hook correctly to naming convention
89

910
## [v5.2.0]
1011
#### Added

hooks/hook_cron.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @param array &$croninfo Output
1010
* @author Dominik Baranek <[email protected]>
1111
*/
12-
function challenges_hook_cron(&$croninfo)
12+
function perun_hook_cron(&$croninfo)
1313
{
1414
if ($croninfo['tag'] !== 'hourly') {
1515
Logger::debug('cron [perun]: Skipping cron in cron tag [' . $croninfo['tag'] . '] ');

0 commit comments

Comments
 (0)