aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ocsclient.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-11 17:44:02 +0100
committerBart Visscher <bartv@thisnet.nl>2013-02-14 08:38:37 +0100
commitffae6f4b847e96d691053300c355ab81edc6c1c8 (patch)
tree928a210abf40ab333c0a08fb469be87c71147b24 /lib/ocsclient.php
parent2d6d0a4ad438590504c13f04a6b2916a59a99c30 (diff)
downloadnextcloud-server-ffae6f4b847e96d691053300c355ab81edc6c1c8.tar.gz
nextcloud-server-ffae6f4b847e96d691053300c355ab81edc6c1c8.zip
Style-fix: Breakup long lines
Diffstat (limited to 'lib/ocsclient.php')
-rw-r--r--lib/ocsclient.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/ocsclient.php b/lib/ocsclient.php
index 30163c1e403..bd0302a2a81 100644
--- a/lib/ocsclient.php
+++ b/lib/ocsclient.php
@@ -32,7 +32,8 @@ class OC_OCSClient{
* @brief Get the url of the OCS AppStore server.
* @returns string of the AppStore server
*
- * This function returns the url of the OCS AppStore server. It´s possible to set it in the config file or it will fallback to the default
+ * This function returns the url of the OCS AppStore server. It´s possible
+ * to set it in the config file or it will fallback to the default
*/
private static function getAppStoreURL() {
$url = OC_Config::getValue('appstoreurl', 'http://api.apps.owncloud.com/v1');
@@ -42,7 +43,8 @@ class OC_OCSClient{
/**
* @brief Get the url of the OCS KB server.
* @returns string of the KB server
- * This function returns the url of the OCS knowledge base server. It´s possible to set it in the config file or it will fallback to the default
+ * This function returns the url of the OCS knowledge base server. It´s
+ * possible to set it in the config file or it will fallback to the default
*/
private static function getKBURL() {
$url = OC_Config::getValue('knowledgebaseurl', 'http://api.apps.owncloud.com/v1');
@@ -109,7 +111,8 @@ class OC_OCSClient{
$version='&version='.implode('x', \OC_Util::getVersion());
$filterurl='&filter='.urlencode($filter);
- $url=OC_OCSClient::getAppStoreURL().'/content/data?categories='.urlencode($categoriesstring).'&sortmode=new&page='.urlencode($page).'&pagesize=100'.$filterurl.$version;
+ $url=OC_OCSClient::getAppStoreURL().'/content/data?categories='.urlencode($categoriesstring)
+ .'&sortmode=new&page='.urlencode($page).'&pagesize=100'.$filterurl.$version;
$apps=array();
$xml=OC_OCSClient::getOCSresponse($url);