return 0 in case of error
This commit is contained in:
parent
928b5a04ca
commit
6c76f94a1a
1 changed files with 2 additions and 0 deletions
|
@ -131,6 +131,7 @@ class UsageDB extends Usage
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -158,6 +159,7 @@ class UsageDB extends Usage
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue