~fabiocbalbuquerque/sahana-agasti/web-services

« back to all changes in this revision

Viewing changes to apps/frontend/lib/packages/agWebservicesPackage/lib/model/doctrine/PluginsfGuardUserProfileTable.class.php

  • Committer: Chad Heuschober
  • Date: 2011-08-04 00:05:46 UTC
  • mto: (1.26.1 push-trunk)
  • mto: This revision was merged to the branch mainline in revision 25.
  • Revision ID: chad.heuschober@mail.cuny.edu-20110804000546-4dqh6a7xrkrwccdh
Moved around some data fixtures to put the regular fixtures into more of a production-ready state.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
    {
18
18
        return Doctrine_Core::getTable('PluginsfGuardUserProfile');
19
19
    }
20
 
    
 
20
 
21
21
    public function getByToken(array $parameters)
22
22
    {
23
23
        $user = Doctrine_Core::getTable('sfGuardUserProfile')->findOneByToken($parameters['token']);
25
25
            throw new sfError404Exception(sprintf('Client with token "%s" does not exist or is not activated.', $parameters['token']));
26
26
        }
27
27
        return $user;
28
 
    }    
 
28
    }
29
29
 
30
30
}
 
 
b'\\ No newline at end of file'