Stop error on export

This commit is contained in:
Tom Needham 2012-03-27 20:43:44 +00:00
parent c8acd4a594
commit b201e51528
1 changed files with 5 additions and 4 deletions

View File

@ -32,13 +32,14 @@ abstract class OC_Migration_Provider{
* @breif sets the OC_Migration_Content object to $this->content
* @param $content a OC_Migration_Content object
*/
public function setData( $uid, $content, $info=false ){
public function setData( $uid, $content, $info=null ){
$this->content = $content;
$this->uid = $uid;
$this->olduid = $info->exporteduser;
if( !is_null( $info ) ){
$this->olduid = $info->exporteduser;
$this->appinfo = $info->apps->$id;
}
$id = $this->id;
$this->appinfo = $info->apps->$id;
}
/**