Skip to content

Commit 6aff549

Browse files
refactor: remove redundant log_error method from Dispatcher class
1 parent 2beb842 commit 6aff549

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Core/Dispatcher.inc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,6 @@ class Dispatcher {
275275
sleep(30);
276276
}
277277

278-
/**
279-
* Logs an error to the syslog.
280-
* @param string $message The error message to write to the syslog
281-
*/
282-
public static function log_error(string $message): void {
283-
# Call the pfSense `log_error` function
284-
log_error($message);
285-
}
286-
287278
/**
288279
* Configures this Dispatcher to run on a schedule if the `schedule` property is set.
289280
* @return CronJob|null Returns the CronJob created for this Dispatcher if a `schedule` is defined. Returns `null`

0 commit comments

Comments
 (0)