mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
Fix code style
This commit is contained in:
parent
92580278bd
commit
7af54ac88c
5 changed files with 24 additions and 26 deletions
|
@ -140,7 +140,8 @@ class Catalog_soundcloud extends Catalog
|
||||||
require_once Config::get('prefix') . '/modules/php-soundcloud/Soundcloud.php';
|
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";
|
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";
|
echo "<p>" . T_('API Error: cannot connect to SoundCloud.') . "</p><hr />\n";
|
||||||
flush();
|
flush();
|
||||||
}
|
}
|
||||||
}
|
} catch (Exception $ex) {
|
||||||
catch (Exception $ex) {
|
|
||||||
echo "<p>" . T_('SoundCloud exception: ') . $ex->getMessage() . "</p><hr />\n";
|
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";
|
echo "<p>" . T_('API Error: cannot connect to SoundCloud.') . "</p><hr />\n";
|
||||||
flush();
|
flush();
|
||||||
}
|
}
|
||||||
}
|
} catch (Exception $ex) {
|
||||||
catch (Exception $ex) {
|
|
||||||
echo "<p>" . T_('SoundCloud exception: ') . $ex->getMessage() . "</p><hr />\n";
|
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";
|
echo "<p>" . T_('API Error: cannot connect to SoundCloud.') . "</p><hr />\n";
|
||||||
flush();
|
flush();
|
||||||
}
|
}
|
||||||
}
|
} catch (Exception $ex) {
|
||||||
catch (Exception $ex) {
|
|
||||||
echo "<p>" . T_('SoundCloud exception: ') . $ex->getMessage() . "</p><hr />\n";
|
echo "<p>" . T_('SoundCloud exception: ') . $ex->getMessage() . "</p><hr />\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue