Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-09 19:46:55 +0400
committerBart Visscher <bartv@thisnet.nl>2013-02-14 11:36:26 +0400
commit5c4a804ddb4942687d5b8495d1ede51873cd412b (patch)
tree1974edcbfeab4eb4f2656ea69bb8d955b4426587 /lib/installer.php
parentbfe6334cd9d50ce99f0a6fd02c1aa0dc43b2b7e9 (diff)
Fix SpaceBeforeOpenBrace errors
Diffstat (limited to 'lib/installer.php')
-rw-r--r--lib/installer.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/installer.php b/lib/installer.php
index c86f801b5fc..aa192880af0 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -270,12 +270,12 @@ class OC_Installer{
public static function isUpdateAvailable( $app ) {
$ocsid=OC_Appconfig::getValue( $app, 'ocsid', '');
- if($ocsid<>''){
+ if($ocsid<>'') {
$ocsdata=OC_OCSClient::getApplication($ocsid);
$ocsversion= (string) $ocsdata['version'];
$currentversion=OC_App::getAppVersion($app);
- if($ocsversion<>$currentversion){
+ if($ocsversion<>$currentversion) {
return($ocsversion);
}else{
@@ -326,22 +326,22 @@ class OC_Installer{
*/
public static function removeApp( $name, $options = array()) {
- if(isset($options['keeppreferences']) and $options['keeppreferences']==false ){
+ if(isset($options['keeppreferences']) and $options['keeppreferences']==false ) {
// todo
// remove preferences
}
- if(isset($options['keepappconfig']) and $options['keepappconfig']==false ){
+ if(isset($options['keepappconfig']) and $options['keepappconfig']==false ) {
// todo
// remove app config
}
- if(isset($options['keeptables']) and $options['keeptables']==false ){
+ if(isset($options['keeptables']) and $options['keeptables']==false ) {
// todo
// remove app database tables
}
- if(isset($options['keepfiles']) and $options['keepfiles']==false ){
+ if(isset($options['keepfiles']) and $options['keepfiles']==false ) {
// todo
// remove user files
}