Remove can_view condition on tracking completion
This commit is contained in:
parent
43d279ec84
commit
473d63d043
|
@ -358,10 +358,6 @@ abstract class Task {
|
|||
* Track task completion if task is viewable.
|
||||
*/
|
||||
public function possibly_track_completion() {
|
||||
if ( ! $this->can_view() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ! $this->is_complete() ) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue