Permalink
Browse files

bug fix

  • Loading branch information...
1 parent d665fed commit dd7b37b0d8632ecd121c57058562ac0232133f00 @hirak committed Jul 1, 2016
Showing with 1 addition and 3 deletions.
  1. +1 −3 optimize.php
View
@@ -101,9 +101,7 @@
// 最後にpackages.jsonを作る
// DBから結果的にどうなったか抽出する
-$stmt = $pdo->prepare('SELECT file, hash FROM providers WHERE provider = :provider');
-$stmt->bindValue(':provider', $providerpath);
-$stmt->execute();
+$stmt = $pdo->query('SELECT file, hash FROM providers');
$stmt->setFetchMode(PDO::FETCH_ASSOC);
$newproviders = [];
foreach ($stmt as $row) {

0 comments on commit dd7b37b

Please sign in to comment.