Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

Commit

Permalink
Updates to support Laravel 4.1.25+
Browse files Browse the repository at this point in the history
  • Loading branch information
jhariani committed Apr 18, 2014
1 parent 23345c1 commit 8451a35
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ php:

env:
global:
- secure: RAGFum6F/yXPnbBNSdS4lzqKR+uvg4lXhsWTQPhwJIG+hYO5AECGyIf9oi1RKbAxSslAEOvmM+dXC5WFSki057BOzszRG9ZgtfCkk8PfMutZFyOz8lppRO2llfl0+aZ2+zDRQXFRZueNYunTzPLLqS5nx0wsYs2LWxr4/2gwZ/Q=
- secure: iyrSK5ab4TjqA2YVil/V+ccjU/uTVrsEVyht0wGzcbkMxPtsJxZTvyvjFYeFJ5JOE+zKORZEKIrMKdiYEvjHcHuGF5K5gmRQYkC3LALM4QKVfxnDhxX/LFCXcFMviTxNzwuDv3i/TcNo19RpceH/hhTNLYU+jMwMUbLdk4K+U1I=
- secure: ZTF0DcZLxcme4okeBz2p6V/EDq2XXRAx/lq1K6C3aWOy5DgP4uGH8QfFFoxEQQDSmRSpMfYqzAPg2bO18A4a66WLejeKk5dOBX/sKDt+Nugi5h4RdgGq2RNlCeuDdFlKA+nanRdNvCVKK1CIQorZUzlqNmFl2vbP+hnYGrqBdlg=
- secure: Rry8rpIrNBLL6Hqx0FDxCaIxVmWVO2wlOk2ArrgjaA6EzTuzh9ynjMq7nEvWmnYwyBLSCEUoNEeIXTdjVZFxfQPKDDZhzVfrGiJErPfpfnw/6p0s/QR0UUNQCVxQqQ8T1qJ91tubpDHUZhSBQs0ErR8sEh8gT25/1LG3wlPxKhg=
- secure: iq7TMuOPG6xzUYCQGea566tP19bPEVbdy58KgmLr2YqfZOhB3qFDGUQ7w6SJML2q5wFJ0SB/zPZ7cWx/CrkyjG3Yh4rWaBU4AR2AzYWnbD2mTziemKzblVyp+2alSboGxuPxG05+hA3tKoxKG8Ikw09b7kfS9vv83DcUujVY+FQ=
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"require": {
"php": ">=5.4.0",
"guzzle/guzzle": "~3.8",
"jenssegers/mongodb": "1.1.3",
"jenssegers/mongodb": "1.2.8",
"illuminate/support": "4.1.x",
"illuminate/cache": "4.1.x",
"illuminate/auth": "4.1.x",
Expand Down
2 changes: 1 addition & 1 deletion src/GovTribe/LaravelKinvey/Database/Eloquent/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(Connection $connection)
* @param mixed $id
* @return mixed
*/
protected function convertKey($id)
public function convertKey($id)
{
// As Kinvey doesn't use MongoIDs, just return the string id.
if ($id instanceof \MongoId) $id = $id->__toString();
Expand Down
15 changes: 15 additions & 0 deletions src/GovTribe/LaravelKinvey/Database/Eloquent/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,19 @@ public function getReminderEmail()
{
return $this->email;
}

public function getRememberToken()
{
return $this->remember_token;
}

public function setRememberToken($value)
{
$this->remember_token = $value;
}

public function getRememberTokenName()
{
return 'remember_token';
}
}

0 comments on commit 8451a35

Please sign in to comment.