Everywhere yoda conditions are
This commit is contained in:
@ -51,11 +51,7 @@ abstract class Table extends \BerlinDB\Database\Table {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( ! is_main_site()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return (bool) is_main_site();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user