Skip to content
Browse files

Merge pull request #446 from treylane/master

Perf improvement
  • Loading branch information...
2 parents 6234fec + f9a0906 commit f5808694362b47e201dce0e989323f50676d3116 @willdurand willdurand committed
Showing with 0 additions and 4 deletions.
  1. +0 −4 runtime/lib/map/DatabaseMap.php
View
4 runtime/lib/map/DatabaseMap.php
@@ -107,10 +107,6 @@ public function addTableFromMapClass($tableMapClass)
*/
public function hasTable($name)
{
- if ( strpos($name, '.') > 0) {
- $name = substr($name, 0, strpos($name, '.'));
- }
-
return array_key_exists($name, $this->tables);
}

0 comments on commit f580869

Please sign in to comment.
Something went wrong with that request. Please try again.