Removed debugging

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-11-21 13:37:56 +00:00
parent 4eb435e148
commit 2b9e4110bc

View file

@ -63,13 +63,7 @@ class ValidationServiceProvider extends ServiceProvider
* `unique_undeleted:table,fieldname` in your rules out of the box
*/
Validator::extend('unique_undeleted', function ($attribute, $value, $parameters, $validator) {
\Log::debug('Parameters: ');
\Log::debug(print_r($parameters, true));
\Log::debug('Attribute: '. $attribute);
\Log::debug('Value: '. $value);
if (count($parameters)) {
// This is a bit of a shim, but serial doesn't have any other rules around it other than that it's nullable