- public static function flush() {
- return new Action\System\Flush(__CLASS__, __FUNCTION__);
+ /**
+ * @param bool $checkPermissions
+ * @return Action\System\Flush
+ */
+ public static function flush($checkPermissions = TRUE) {
+ return (new Action\System\Flush(__CLASS__, __FUNCTION__))
+ ->setCheckPermissions($checkPermissions);
+ }
+
+ /**
+ * @param bool $checkPermissions
+ * @return Action\System\Check
+ */
+ public static function check($checkPermissions = TRUE) {
+ return (new Action\System\Check(__CLASS__, __FUNCTION__))
+ ->setCheckPermissions($checkPermissions);