Merge pull request #7803 from open-sausages/pulls/3.5/fix-ping-reqs

BUG Fix ping including requirements
This commit is contained in:
Loz Calver 2018-01-26 09:16:20 +00:00 committed by GitHub
commit 861112bd31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -394,6 +394,7 @@ class Security extends Controller implements TemplateGlobalProvider {
* sessions don't timeout. A common use is in the admin.
*/
public function ping() {
Requirements::clear();
return 1;
}