From: rniwa@webkit.org Date: Sat, 10 Jan 2015 22:02:28 +0000 (+0000) Subject: Unreviewed build fix. Removed the stale code. X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=2683d22329ca439209b2e09ac767a13b54ff26f0 Unreviewed build fix. Removed the stale code. * public/admin/triggerables.php: git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178242 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/Websites/perf.webkit.org/ChangeLog b/Websites/perf.webkit.org/ChangeLog index 6af3a5acd9a4..71eea76490b8 100644 --- a/Websites/perf.webkit.org/ChangeLog +++ b/Websites/perf.webkit.org/ChangeLog @@ -1,3 +1,9 @@ +2015-01-10 Ryosuke Niwa + + Unreviewed build fix. Removed the stale code. + + * public/admin/triggerables.php: + 2015-01-09 Ryosuke Niwa Perf dashboard should have the ability to post A/B testing builds diff --git a/Websites/perf.webkit.org/public/admin/triggerables.php b/Websites/perf.webkit.org/public/admin/triggerables.php index 9fed601666bc..9c62fdb62e55 100644 --- a/Websites/perf.webkit.org/public/admin/triggerables.php +++ b/Websites/perf.webkit.org/public/admin/triggerables.php @@ -5,7 +5,7 @@ require('../include/admin-header.php'); if ($db) { if ($action == 'add') { - if ($db->insert_row('build_triggerables', 'triggerable', array('name' => $_POST['name'], 'location' => $_POST['location']))) { + if ($db->insert_row('build_triggerables', 'triggerable', array('name' => $_POST['name']))) { notice('Inserted the new triggerable.'); regenerate_manifest(); } else @@ -13,8 +13,6 @@ if ($db) { } else if ($action == 'update') { if (update_field('build_triggerables', 'triggerable', 'name')) regenerate_manifest(); - else if (update_field('build_triggerables', 'triggerable', 'location')) - regenerate_manifest(); else notice('Invalid parameters.'); } else if ($action == 'update-repositories') {