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:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2014-02-19 12:31:54 +0400
committerScrutinizer <auto-fixer@scrutinizer-ci.com>2014-02-19 12:31:54 +0400
commitadaee6a5a19a4b0050d189736bd4e6183fee9cf0 (patch)
treea553fc57c2ff8c99081f8e15fbee7dff2c00adbf /lib/private/installer.php
parent1e321406ee2d973e937637ab090cbd83a6eb40cf (diff)
Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r--lib/private/installer.php27
1 files changed, 1 insertions, 26 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php
index 1b974c6e5a5..fe7417990c8 100644
--- a/lib/private/installer.php
+++ b/lib/private/installer.php
@@ -236,30 +236,6 @@ class OC_Installer{
/**
* @brief Update an application
- * @param array $data with all information
- *
- * This function installs an app. All information needed are passed in the
- * associative array $data.
- * The following keys are required:
- * - source: string, can be "path" or "http"
- *
- * One of the following keys is required:
- * - path: path to the file containing the app
- * - href: link to the downloadable file containing the app
- *
- * The following keys are optional:
- * - pretend: boolean, if set true the system won't do anything
- * - noupgrade: boolean, if true appinfo/upgrade.php won't be loaded
- *
- * This function works as follows
- * -# fetching the file
- * -# removing the old files
- * -# unzipping new file
- * -# including appinfo/upgrade.php
- * -# setting the installed version
- *
- * upgrade.php can determine the current installed version of the app using
- * "OC_Appconfig::getValue($appid, 'installed_version')"
*/
public static function updateApp( $app ) {
$ocsid=OC_Appconfig::getValue( $app, 'ocsid');
@@ -270,7 +246,6 @@ class OC_Installer{
/**
* @brief Check if an update for the app is available
- * @param string $name name of the application
* @return string|false false or the version number of the update
*
* The function will check if an update for a version is available
@@ -316,7 +291,7 @@ class OC_Installer{
* @brief Removes an app
* @param string $name name of the application to remove
* @param $options array with options
- * @return boolean
+ * @return boolean|null
*
* This function removes an app. $options is an associative array. The
* following keys are optional:ja