Skip to content

Commit 1787d18

Browse files
committed
Merge pull request #429 from jpfuentes2/andyleap-master
Remove require_once from inside functions
2 parents 27aa4a8 + 78ddfa3 commit 1787d18

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/SQLBuilder.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ private function prepend_table_name_to_fields($hash=array())
291291

292292
private function apply_where_conditions($args)
293293
{
294-
require_once 'Expressions.php';
295294
$num_args = count($args);
296295

297296
if ($num_args == 1 && is_hash($args[0]))
@@ -345,7 +344,6 @@ private function build_delete()
345344

346345
private function build_insert()
347346
{
348-
require_once 'Expressions.php';
349347
$keys = join(',',$this->quoted_key_names());
350348

351349
if ($this->sequence)
@@ -419,4 +417,4 @@ private function quoted_key_names()
419417

420418
return $keys;
421419
}
422-
}
420+
}

0 commit comments

Comments
 (0)