1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 01:39:28 +02:00

Fix code style

This commit is contained in:
Afterster 2013-11-24 02:44:22 +01:00
parent 92580278bd
commit 7af54ac88c
5 changed files with 24 additions and 26 deletions

View file

@ -140,7 +140,8 @@ class Catalog_soundcloud extends Catalog
require_once Config::get('prefix') . '/modules/php-soundcloud/Soundcloud.php';
}
protected function getRedirectUri() {
protected function getRedirectUri()
{
return Config::get('web_path') . "/show_get.php?param_name=code";
}
@ -298,8 +299,7 @@ class Catalog_soundcloud extends Catalog
echo "<p>" . T_('API Error: cannot connect to SoundCloud.') . "</p><hr />\n";
flush();
}
}
catch (Exception $ex) {
} catch (Exception $ex) {
echo "<p>" . T_('SoundCloud exception: ') . $ex->getMessage() . "</p><hr />\n";
}
@ -357,8 +357,7 @@ class Catalog_soundcloud extends Catalog
echo "<p>" . T_('API Error: cannot connect to SoundCloud.') . "</p><hr />\n";
flush();
}
}
catch (Exception $ex) {
} catch (Exception $ex) {
echo "<p>" . T_('SoundCloud exception: ') . $ex->getMessage() . "</p><hr />\n";
}
@ -430,8 +429,7 @@ class Catalog_soundcloud extends Catalog
echo "<p>" . T_('API Error: cannot connect to SoundCloud.') . "</p><hr />\n";
flush();
}
}
catch (Exception $ex) {
} catch (Exception $ex) {
echo "<p>" . T_('SoundCloud exception: ') . $ex->getMessage() . "</p><hr />\n";
}