diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-02-26 15:07:51 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-02-26 15:08:30 +0100 |
commit | 27fde80ee6bb88fcf4a1c8943829fe6360a12575 (patch) | |
tree | 949a17ca0691b5cb1e27b4af4b9d33e7fa96fa17 /lib/private | |
parent | 3cf237df67008da8878fff28a2d6b4ad77288ad9 (diff) | |
download | nextcloud-server-27fde80ee6bb88fcf4a1c8943829fe6360a12575.tar.gz nextcloud-server-27fde80ee6bb88fcf4a1c8943829fe6360a12575.zip |
fix exception message
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/backgroundjob/joblist.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |