* Fix stupid copy & paste errors.

This commit is contained in:
Yahnis Elsts 2012-05-29 09:41:10 +00:00
parent fa9172b477
commit b440d1662a
1 changed files with 1 additions and 3 deletions

View File

@ -531,7 +531,7 @@ class PluginUpdate {
public static function fromObject($object) {
$update = new PluginUpdate();
foreach(self::$fields as $field){
$update->$field = $info->$field;
$update->$field = $object->$field;
}
return $update;
}
@ -575,5 +575,3 @@ class PluginUpdate {
}
endif;
?>