From f8e8706724b3a694642bcb39721e9f56bb4c321f Mon Sep 17 00:00:00 2001 From: Mikey O'Toole Date: Fri, 12 Mar 2021 18:42:53 +0000 Subject: [PATCH] Add ResetPaths API4 endpoint #2458 --- Civi/Api4/Action/System/ResetPaths.php | 29 ++++++++++++++++++++++++++ Civi/Api4/System.php | 9 ++++++++ 2 files changed, 38 insertions(+) create mode 100644 Civi/Api4/Action/System/ResetPaths.php diff --git a/Civi/Api4/Action/System/ResetPaths.php b/Civi/Api4/Action/System/ResetPaths.php new file mode 100644 index 0000000000..7089b9084f --- /dev/null +++ b/Civi/Api4/Action/System/ResetPaths.php @@ -0,0 +1,29 @@ +setCheckPermissions($checkPermissions); } + /** + * @param bool $checkPermissions + * @return Action\System\ResetPaths + */ + public static function resetPaths($checkPermissions = TRUE) { + return (new Action\System\ResetPaths(__CLASS__, __FUNCTION__)) + ->setCheckPermissions($checkPermissions); + } + } -- 2.25.1