Refactor the encryption class.

This commit is contained in:
Taylor Otwell
2011-08-08 13:15:27 -05:00
parent 8a175894b2
commit f6aecf706a

View File

@@ -69,11 +69,9 @@ class Crypt {
{ {
return MCRYPT_DEV_RANDOM; return MCRYPT_DEV_RANDOM;
} }
else
{
return MCRYPT_RAND; return MCRYPT_RAND;
} }
}
/** /**
* Get the application key from the application configuration file. * Get the application key from the application configuration file.