diff --git a/install/removeAllViewsStatistics.php b/install/removeAllViewsStatistics.php index 628fc15d6e..e17df6f06e 100644 --- a/install/removeAllViewsStatistics.php +++ b/install/removeAllViewsStatistics.php @@ -10,7 +10,7 @@ if (!isCommandLineInterface()) { echo "Start delete statistics" . PHP_EOL; -$sql = "delete videos_statistics where id > 0"; +$sql = "delete FROM videos_statistics where id > 0"; sqlDAL::writeSql($sql); echo "Finish delete statistics" . PHP_EOL;