X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FApi4%2FSystem.php;h=0afefe11a1a51233c257ba54fac40cf72d6fc703;hb=6b1506ee3970ed5ee7621dfb2dd504947637254f;hp=da4ea2bb75549fbc7ea8be522abed96faf89935f;hpb=1e76376024f7a69ad35fcbea34865b34f636c06a;p=civicrm-core.git diff --git a/Civi/Api4/System.php b/Civi/Api4/System.php index da4ea2bb75..0afefe11a1 100644 --- a/Civi/Api4/System.php +++ b/Civi/Api4/System.php @@ -43,6 +43,16 @@ class System extends Generic\AbstractEntity { ->setCheckPermissions($checkPermissions); } + /** + * @param bool $checkPermissions + * + * @return Action\System\RotateKey + */ + public static function rotateKey($checkPermissions = TRUE) { + return (new Action\System\RotateKey(__CLASS__, __FUNCTION__)) + ->setCheckPermissions($checkPermissions); + } + /** * @param bool $checkPermissions * @return Generic\BasicGetFieldsAction