projects
/
gruntmaster-data.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee00be0
)
Fix create_job
author
Marius Gavrilescu
<marius@ieval.ro>
Sun, 12 Apr 2015 14:38:08 +0000
(17:38 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sun, 12 Apr 2015 14:38:08 +0000
(17:38 +0300)
lib/Gruntmaster/Data.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Data.pm
b/lib/Gruntmaster/Data.pm
index 7b6807959ec522affbcbc156f48f0a92292159d7..6ddada4a5d64d891dffc3bef5bbd961cbe3d617d 100644
(file)
--- a/
lib/Gruntmaster/Data.pm
+++ b/
lib/Gruntmaster/Data.pm
@@
-203,7
+203,7
@@
sub job_full {
sub create_job {
my (%args) = @_;
- $db->update('users', {lastjob => time});
+ $db->update('users', {lastjob => time}
, {id => $args{owner}}
);
purge '/log/';
scalar $db->insert('jobs', \%args, {returning => 'id'})->list
}
This page took
0.010615 seconds
and
4
git commands to generate.