Skip to content

Commit

Permalink
updating project description on project update
Browse files Browse the repository at this point in the history
  • Loading branch information
deleteman committed Jun 28, 2014
1 parent e29c84a commit ceb8e26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/ProjectDeltaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function generateAction() {
$dev = $proj->owner();
Makiavelo::info("==== Querying for $usr_name/$proj_name");
Makiavelo::info("Last Update: " . $proj->updated_at);
if($proj->updated_at == date("Y-m-d") . " 00:00:00") {
if(strstr($proj->updated_at, date("Y-m-d") )) {
Makiavelo::info("Skiping project");
continue; //Avoid duplicated entries
}
Expand Down Expand Up @@ -100,6 +100,7 @@ public function generateAction() {
$proj->stars = $data->watchers;
$proj->forks = $data->forks;
$proj->readme = $data->readme;
$proj->description = $data->description;
$proj->open_issues = $data->open_issues;
save_project($proj);

Expand Down

0 comments on commit ceb8e26

Please sign in to comment.