aboutsummaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-11-04 21:12:18 +0100
committerRobin Appelman <icewind@owncloud.com>2012-11-04 21:12:18 +0100
commit4b940955ddb3266f625eae83da412a655efef319 (patch)
tree8ed6bb2fae2f5fa3cb61c630e3dc98af5e99d656 /lib/app.php
parent8a6bb7965d96b1c4297da8f5dbc9644fec7aeb0f (diff)
parent555dd5c261e52cf64f5a8eb6f4d03635cedafbbe (diff)
downloadnextcloud-server-4b940955ddb3266f625eae83da412a655efef319.tar.gz
nextcloud-server-4b940955ddb3266f625eae83da412a655efef319.zip
merge master into filesystem
Diffstat (limited to 'lib/app.php')
-rwxr-xr-xlib/app.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/app.php b/lib/app.php
index 51f47767540..b9561b650fc 100755
--- a/lib/app.php
+++ b/lib/app.php
@@ -92,7 +92,7 @@ class OC_App{
* @param string/array $types
* @return bool
*/
- public static function isType($app,$types) {
+ public static function isType($app, $types) {
if(is_string($types)) {
$types=array($types);
}
@@ -185,7 +185,7 @@ class OC_App{
}else{
$download=OC_OCSClient::getApplicationDownload($app, 1);
if(isset($download['downloadlink']) and $download['downloadlink']!='') {
- $app=OC_Installer::installApp(array('source'=>'http','href'=>$download['downloadlink']));
+ $app=OC_Installer::installApp(array('source'=>'http', 'href'=>$download['downloadlink']));
}
}
}
@@ -404,7 +404,7 @@ class OC_App{
* @return array
* @note all data is read from info.xml, not just pre-defined fields
*/
- public static function getAppInfo($appid,$path=false) {
+ public static function getAppInfo($appid, $path=false) {
if($path) {
$file=$appid;
}else{
@@ -523,21 +523,21 @@ class OC_App{
/**
* register a settings form to be shown
*/
- public static function registerSettings($app,$page) {
+ public static function registerSettings($app, $page) {
self::$settingsForms[]= $app.'/'.$page.'.php';
}
/**
* register an admin form to be shown
*/
- public static function registerAdmin($app,$page) {
+ public static function registerAdmin($app, $page) {
self::$adminForms[]= $app.'/'.$page.'.php';
}
/**
* register a personal form to be shown
*/
- public static function registerPersonal($app,$page) {
+ public static function registerPersonal($app, $page) {
self::$personalForms[]= $app.'/'.$page.'.php';
}