Revision: 4350
Author: seba.wagner
Date: Mon Oct 3 02:10:52 2011
Log: Fix Icons and Delete action
http://code.google.com/p/openmeetings/source/detail?r=4350
Added:
/trunk/plugins/moodle_plugin/pix
/trunk/plugins/moodle_plugin/pix/icon.gif
Modified:
/trunk/plugins/moodle_plugin/icon.gif
/trunk/plugins/moodle_plugin/lib.php
=======================================
--- /dev/null
+++ /trunk/plugins/moodle_plugin/pix/icon.gif Mon Oct 3 02:10:52 2011
Binary file, no diff available.
=======================================
--- /trunk/plugins/moodle_plugin/icon.gif Sun Feb 8 10:33:59 2009
+++ /trunk/plugins/moodle_plugin/icon.gif Mon Oct 3 02:10:52 2011
Binary file, no diff available.
=======================================
--- /trunk/plugins/moodle_plugin/lib.php Sun Jun 19 03:05:13 2011
+++ /trunk/plugins/moodle_plugin/lib.php Mon Oct 3 02:10:52 2011
@@ -82,9 +82,10 @@
function openmeetings_delete_instance($id) {
global $DB;
- if (! $openmeetings = $DB->get_record("openmeetings", "id", "$id")) {
+ if (! $openmeetings = $DB->get_record("openmeetings",
array("id"=>"$id"))) {
return false;
}
+
$result = true;
@@ -100,15 +101,15 @@
echo "Could not login User to OpenMeetings, check your OpenMeetings
Module Configuration";
exit();
}
-
-
+
# Delete any dependent records here #
- if (! $DB->delete_records("openmeetings", "id", "$openmeetings->id")) {
+ if (! $DB->delete_records("openmeetings",
array("id"=>"$openmeetings->id"))) {
$result = false;
}
return $result;
+
}
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.