Fixed error in the cron job if a key has a bad format.

This commit is contained in:
Loïc d'Anterroches
2011-02-01 20:58:24 +01:00
parent 336faa4503
commit e31f10e648
2 changed files with 8 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ class IDF_Key extends Pluf_Model
return array('ssh', $m[2], $m[1]);
}
throw new Exception('invalid or unknown key data detected');
throw new Exception(__('Invalid or unknown key data detected.'));
}
/**