diff --git a/src/Parse/ParseClient.php b/src/Parse/ParseClient.php index 2f244faa..9221d9cc 100755 --- a/src/Parse/ParseClient.php +++ b/src/Parse/ParseClient.php @@ -84,8 +84,11 @@ public static function initialize($app_id, $rest_key, $master_key, $enableCurlEx if (! ParseObject::hasRegisteredSubclass('_Role')) { ParseRole::registerSubclass(); } - - ParseInstallation::registerSubclass(); + + if (! ParseObject::hasRegisteredSubclass('_Installation')) { + ParseInstallation::registerSubclass(); + } + ParseSession::registerSubclass(); self::$applicationId = $app_id; self::$restKey = $rest_key;