diff options
author | Pascal Terjan <pterjan@mageia.org> | 2012-02-20 23:09:18 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2012-02-20 23:09:18 +0000 |
commit | 3c3129c50c9beb6362651fec18e32c200906ba8f (patch) | |
tree | bc089faff5896f681c7a1b80c721c99136b14bc3 /index.php | |
parent | 4a2d4ab0999b888141e67e54786b51552517600f (diff) | |
download | pkgsubmit-3c3129c50c9beb6362651fec18e32c200906ba8f.tar pkgsubmit-3c3129c50c9beb6362651fec18e32c200906ba8f.tar.gz pkgsubmit-3c3129c50c9beb6362651fec18e32c200906ba8f.tar.bz2 pkgsubmit-3c3129c50c9beb6362651fec18e32c200906ba8f.tar.xz pkgsubmit-3c3129c50c9beb6362651fec18e32c200906ba8f.zip |
Simplify, the reason why preg_match_all didn't work was because it wanted matches parameter
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -321,7 +321,7 @@ if (!is_null($g_user) || $_GET['package']) if (!$_GET['package']) { -$missing_deps_count = preg_match_all("/<item>/m", strtr(file_get_contents("http://check.mageia.org/cauldron/dependencies.rss"), "\n", " "), $matches); +$missing_deps_count = preg_match_all("/<item>/m", file_get_contents("http://check.mageia.org/cauldron/dependencies.rss"), $matches); $unmaintained_count = count(file(__DIR__ . '/data/unmaintained.txt')); if ($missing_deps_count > 0 || $unmaintained_count > 0) { echo "<p>"; |