summaryrefslogtreecommitdiff
path: root/frontend/Package.php
diff options
context:
space:
mode:
authorCamil Staps2017-02-07 22:55:04 +0100
committerCamil Staps2017-02-07 22:55:04 +0100
commit78e8956015edb622777012797c263368918094a6 (patch)
treeebeea7f2b8b43626d7ac4aa6f69a36c2381901ab /frontend/Package.php
parentFrontend fixes (diff)
Frontend to support both Git and SubversionHEADmaster
Diffstat (limited to 'frontend/Package.php')
-rw-r--r--frontend/Package.php3
1 files changed, 2 insertions, 1 deletions
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);