forked from GNUsocial/gnu-social
changed curly bracks on if, else, foreach to match pear code styles
This commit is contained in:
parent
222ef4d186
commit
711fe39700
@ -203,8 +203,7 @@ $dbModules = array(
|
|||||||
|
|
||||||
function main()
|
function main()
|
||||||
{
|
{
|
||||||
if (!checkPrereqs())
|
if (!checkPrereqs()) {
|
||||||
{
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -221,7 +220,7 @@ function main()
|
|||||||
|
|
||||||
function haveExternalLibrary($external_library)
|
function haveExternalLibrary($external_library)
|
||||||
{
|
{
|
||||||
if(isset($external_library['include']) && ! include_once($external_library['include'])){
|
if (isset($external_library['include']) && ! include_once $external_library['include'] ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (isset($external_library['check_function']) && ! function_exists($external_library['check_function'])) {
|
if (isset($external_library['check_function']) && ! function_exists($external_library['check_function'])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user