[2/4] Always use source_file_uri instead of pkgbuild_uri

Message ID 20170226210452.8377-2-lfleischer@archlinux.org
State Accepted, archived
Headers show
Series
  • [1/4] Fix SQL query used for creating new accounts
Related show

Commit Message

Lukas Fleischer Feb. 26, 2017, 9:04 p.m. UTC
The pkgbuild_uri option was replaced by source_file_uri in 9df1bd5 (Add
direct links to each source file, 2017-02-12). Change one remaining
reference to pkgbuild_uri accordingly.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
---
 web/template/pkgbase_details.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php
index e368872..de55da0 100644
--- a/web/template/pkgbase_details.php
+++ b/web/template/pkgbase_details.php
@@ -1,6 +1,6 @@ 
 <?php
 
-$pkgbuild_uri = sprintf(config_get('options', 'pkgbuild_uri'), urlencode($row['Name']));
+$pkgbuild_uri = sprintf(config_get('options', 'source_file_uri'), 'PKGBUILD', urlencode($row['Name']));
 $log_uri = sprintf(config_get('options', 'log_uri'), urlencode($row['Name']));
 $snapshot_uri = sprintf(config_get('options', 'snapshot_uri'), urlencode($row['Name']));
 $git_clone_uri_anon = sprintf(config_get('options', 'git_clone_uri_anon'), htmlspecialchars($row['Name']));