Merge branch 'saas' into saas-suspend

This commit is contained in:
Albert Santoni 2015-04-17 12:18:56 -04:00
commit 1964cbb75e
48 changed files with 4385 additions and 573 deletions

View file

@ -37,8 +37,6 @@ class Application_Model_Preference
if ($isUserValue && is_null($userId))
throw new Exception("User id can't be null for a user preference {$key}.");
Application_Common_Database::prepareAndExecute("LOCK TABLE cc_pref");
//Check if key already exists
$sql = "SELECT COUNT(*) FROM cc_pref"
." WHERE keystr = :key";