From 27fde80ee6bb88fcf4a1c8943829fe6360a12575 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 26 Feb 2015 15:07:51 +0100 Subject: [PATCH] fix exception message --- lib/private/backgroundjob/joblist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/backgroundjob/joblist.php b/lib/private/backgroundjob/joblist.php index ded269dfe59..f7cc24217e6 100644 --- a/lib/private/backgroundjob/joblist.php +++ b/lib/private/backgroundjob/joblist.php @@ -58,7 +58,7 @@ class JobList implements IJobList { } $argument = json_encode($argument); if (strlen($argument) > 4000) { - throw new \InvalidArgumentException('Background job arguments cant exceed 2048 characters (json encoded'); + throw new \InvalidArgumentException('Background job arguments can\'t exceed 4000 characters (json encoded)'); } $query = $this->conn->prepare('INSERT INTO `*PREFIX*jobs`(`class`, `argument`, `last_run`) VALUES(?, ?, 0)'); $query->execute(array($class, $argument)); -- 2.39.5