Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: Portfolio API
-
Labels:None
-
Affected Branches:MOODLE_20_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
The files /portfolio/*.php do not have require_login()
Those scripts are using $USER and $SESSION, adding require logins and adding forgotten kill switch into portfolio/file.php
Please review and test ![]()
silly question, why is add.php using optional_param() all over the place?
It would be also nice if each script contained a short description describing what it does, especially when is uses something from session created by other scripts.