diff --git a/html/ops/index.php b/html/ops/index.php index cf32a44e3d..28b4261d01 100644 --- a/html/ops/index.php +++ b/html/ops/index.php @@ -21,23 +21,6 @@ require_once("../inc/util_ops.inc"); require_once("../inc/uotd.inc"); require_once("../project/project.inc"); -function svn_revision($path) { - $out = array(); - $cmd = "svn info http://boinc.berkeley.edu/svn/$path"; - if (defined("SVN_CONFIG_DIRECTORY")) { - $cmd .= " --config-dir ". SVN_CONFIG_DIRECTORY; - } - exec($cmd, $out); - foreach ($out as $line) { - $x = strstr($line, "Last Changed Rev: "); - if ($x) { - $y = substr($x, strlen("Last Changed Rev: ")); - return (int) $y; - } - } - return null; -} - $config = get_config(); $cgi_url = parse_config($config, ""); $stripchart_cgi_url = parse_config($config, ""); @@ -50,29 +33,6 @@ admin_page_head($title); // Notification area echo "