mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 16:24:43 +03:00
Fix coding style
This commit is contained in:
parent
3e01b98388
commit
8e01325cad
@ -139,7 +139,8 @@ class Database
|
||||
* @param string $db Database name.
|
||||
* @param string $prefix Database tables prefix
|
||||
*/
|
||||
public static function initialize($host, $user, $pass, $use_pconn, $db, $prefix) {
|
||||
public static function initialize($host, $user, $pass, $use_pconn, $db, $prefix)
|
||||
{
|
||||
// Check PDO
|
||||
if (!extension_loaded('PDO')) {
|
||||
throw new \Exception('PDO extension is not loaded');
|
||||
|
@ -81,8 +81,7 @@ if ($generate_button) {
|
||||
$image_href .= "&group=$group_id";
|
||||
}
|
||||
$message = get_image($image_href, $size[0], $size[1]);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$disable_invitation = true;
|
||||
|
||||
$lang = verify_param("lang", "/^[\w-]{2,5}$/", "");
|
||||
|
Loading…
Reference in New Issue
Block a user