From 78e8956015edb622777012797c263368918094a6 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 7 Feb 2017 22:55:04 +0100 Subject: Frontend to support both Git and Subversion --- frontend/Package.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'frontend/Package.php') diff --git a/frontend/Package.php b/frontend/Package.php index 0b2afed..89a268e 100644 --- a/frontend/Package.php +++ b/frontend/Package.php @@ -2,7 +2,8 @@ class Package extends Model { public static $table = 'package', - $fillable_columns = ['author_id', 'name', 'url', 'git_url', 'desc']; + $fillable_columns = ['author_id', 'name', 'url', 'desc', + 'fetch_url', 'fetch_dir', 'fetch_type']; public function getAuthor() { return new Author($this->pdo, $this->author_id); -- cgit v1.2.3