Merge pull request #16592 from owncloud/fix-16574

Add type hint for OC_Channel
This commit is contained in:
Morris Jobke 2015-05-28 20:36:44 +02:00
commit 7f83829db3
1 changed files with 1 additions and 0 deletions

View File

@ -393,6 +393,7 @@ class OC_Util {
if (\OC::$server->getSystemConfig()->getValue('installed', false)) {
$channel = \OC::$server->getAppConfig()->getValue('core', 'OC_Channel');
} else {
/** @var $OC_Channel string */
$channel = $OC_Channel;
}