Permalink
Browse files

Removed PHP 5.3 dependency

  • Loading branch information...
1 parent c31f20d commit 73ea97a4cd4c6b01c98947c41c5d8054c4ea1c2e @archwisp committed Jun 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/build-alter-database-sql
@@ -59,7 +59,7 @@ foreach ($tables as $table)
$adapter_class = get_class($adapter);
if ((int)$exception->errorInfo[1]
- !== $adapter_class::CODE_TABLE_DOESNT_EXIST)
+ !== constant($adapter_class . '::CODE_TABLE_DOESNT_EXIST'))
{
throw $exception;
}

0 comments on commit 73ea97a

Please sign in to comment.