summaryrefslogtreecommitdiffstats
path: root/lib/migration/provider.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-08-29 08:38:33 +0200
committerBart Visscher <bartv@thisnet.nl>2012-08-29 20:28:45 +0200
commit52f2e7112ea985203eca16aa787bd75a7cf92194 (patch)
tree1d1f5070b050652940847c569b1d3968bdae082c /lib/migration/provider.php
parent76bc4753e9bd2698415b067108806d82ac56b663 (diff)
downloadnextcloud-server-52f2e7112ea985203eca16aa787bd75a7cf92194.tar.gz
nextcloud-server-52f2e7112ea985203eca16aa787bd75a7cf92194.zip
Whitespace fixes in lib
Diffstat (limited to 'lib/migration/provider.php')
-rw-r--r--lib/migration/provider.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/migration/provider.php b/lib/migration/provider.php
index 91336f3019d..259b1fe7ae6 100644
--- a/lib/migration/provider.php
+++ b/lib/migration/provider.php
@@ -3,37 +3,37 @@
* provides search functionalty
*/
abstract class OC_Migration_Provider{
-
+
protected $id=false;
- protected $content=false;
+ protected $content=false;
protected $uid=false;
protected $olduid=false;
protected $appinfo=false;
-
+
public function __construct( $appid ){
// Set the id
$this->id = $appid;
OC_Migrate::registerProvider( $this );
}
-
+
/**
* @brief exports data for apps
* @return array appdata to be exported
*/
abstract function export( );
-
+
/**
* @brief imports data for the app
* @return void
*/
abstract function import( );
-
+
/**
* @brief sets the OC_Migration_Content object to $this->content
* @param $content a OC_Migration_Content object
*/
public function setData( $uid, $content, $info=null ){
- $this->content = $content;
+ $this->content = $content;
$this->uid = $uid;
$id = $this->id;
if( !is_null( $info ) ){
@@ -41,12 +41,12 @@ abstract class OC_Migration_Provider{
$this->appinfo = $info->apps->$id;
}
}
-
+
/**
* @brief returns the appid of the provider
* @return string
*/
public function getID(){
- return $this->id;
+ return $this->id;
}
}