Issue Details (XML | Word | Printable)

Key: MDL-14924
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Petr Skoda
Reporter: bouley Hélène
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

a php error occurs when we use a plugin_install function .

Created: 20/May/08 10:15 PM   Updated: 17/Feb/09 03:21 PM
Return to search
Component/s: Installation
Affects Version/s: 1.9, 1.9.1
Fix Version/s: 1.9.5

Environment: all - php 5.2

Participants: bouley Hélène, Petr Skoda and Tim Hunt
Security Level: None
QA Assignee: Tim Hunt
Resolved date: 07/Feb/09
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
a php error occurs when we use a plugin_install function .

lib/adminlib.ph - line 160 we should have $plugin -> name instead of $module -> name

  if (function_exists($installfunction)) {
                            if (! $installfunction() ) {
                                notify('Encountered a problem running install function for '.$module->name.'!');
                            }
}

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 07/Feb/09 08:14 PM
MDL-14924 fixed typo - thanks bouley Hélène
MODIFY lib/adminlib.php   Rev. 1.153.2.63    (+2 -2 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 07/Feb/09 08:49 PM
MDL-14924 fixed typo - thanks Eloy
MODIFY install.php   Rev. 1.116    (+2 -2 lines)
Petr Skoda committed 3 files to 'Moodle CVS' - 07/Feb/09 10:35 PM
MDL-14924 language autorefresh and starting to reimplement welcome.html support + strings.txt cleanup
MODIFY lib/installlib.php   Rev. 1.10    (+20 -12 lines)
MODIFY install/stringnames.txt   Rev. 1.21    (+4 -156 lines)
MODIFY install.php   Rev. 1.117    (+9 -2 lines)
Petr Skoda committed 5 files to 'Moodle CVS' - 08/Feb/09 02:56 AM
MDL-14924 the same title now used on each upgrade/install page (Moodle - 2.0...) + the same footer with moodle logo now used during installation and upgrade - links to admin docs
MODIFY admin/index.php   Rev. 1.374    (+13 -12 lines)
MODIFY lib/weblib.php   Rev. 1.1212    (+10 -3 lines)
MODIFY install.php   Rev. 1.122    (+2 -2 lines)
MODIFY lib/upgradelib.php   Rev. 1.5    (+3 -3 lines)
MODIFY lib/installlib.php   Rev. 1.12    (+3 -3 lines)