Commit f6aecf70 authored by Taylor Otwell's avatar Taylor Otwell

Refactor the encryption class.

parent 8a175894
...@@ -69,11 +69,9 @@ class Crypt { ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment