It is generally recommended to explicitly declare the visibility for methods.
Adding explicit visibility (private, protected, or public) is generally
recommend to communicate to other developers how, and from where this method
is intended to be used.
Loading history...
18
return AUTH_NONE;
19
}
20
21
/** @inheritdoc */
22
public function preProcess() {
23
global $ID;
24
global $INPUT;
25
26
// when logging out during an edit session, unlock the page
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.