diff options
author | Kevin Chabowski <kevin@kch42.de> | 2012-01-05 23:47:31 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2012-01-05 23:47:31 +0100 |
commit | f8a7871546fcddb745ddfa708f61b6774c913f34 (patch) | |
tree | 3f52a64ce01bae9c6bd8f945cdc4e974029eb442 /r7r_repo/main.php | |
parent | a3be4bd82d36576bbcdedf752ccbb9f35320210a (diff) | |
download | r7r-repo-f8a7871546fcddb745ddfa708f61b6774c913f34.tar.gz r7r-repo-f8a7871546fcddb745ddfa708f61b6774c913f34.tar.bz2 r7r-repo-f8a7871546fcddb745ddfa708f61b6774c913f34.zip |
Added author property to Package class.
Diffstat (limited to 'r7r_repo/main.php')
-rw-r--r-- | r7r_repo/main.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/r7r_repo/main.php b/r7r_repo/main.php index d28cb44..6c097a8 100644 --- a/r7r_repo/main.php +++ b/r7r_repo/main.php @@ -15,6 +15,7 @@ if(!SKIP_TABLE_CREATION) $db_structure = "CREATE TABLE IF NOT EXISTS `PREFIX_packages` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` text COLLATE utf8_unicode_ci NOT NULL, + `author` text COLLATE utf8_unicode_ci NOT NULL, `lastversion` int(11) NOT NULL, `user` int(11) NOT NULL, `description` text COLLATE utf8_unicode_ci NOT NULL, @@ -121,6 +122,7 @@ $url_handlers = array( $ste->vars["latest_pkgs"] = array_map(function($pkg) { return array( "name" => $pkg->get_name(), "version" => $pkg->txtversion, + "author" => $pkg->author, "description" => $pkg->description, "last_update" => $pkg->lastversion ); }, $latest); |