Removed all of the create_function() calls and replaced them with lambda functions.
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Moved updateMemberData() from Subs.php to Members.subs.php
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Add hhvm checking

I am curious to see if it works.
See http://blog.travis-ci.com/2013-12-16-test-php-code-with-the-hiphop-vm/
Started adding PHPUnit tests
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Merge pull request #1386 from joshuaadickerson/Lambdas

Conflicts:
	install/install.php
Merge branch 'master' into dev_master

Conflicts:
	sources/Subs.php
Merge pull request #1441 from emanuele45/dev_master

Dev master
Remove the phpunit stuff from master
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Revert "Add hhvm checking"

This reverts commit a48e2a97d1130f248c81412470acb85a36b90185.
Cleanup the registration
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
More changes for separation of concerns
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
getOtherGroups() shouldn't use $_REQUEST.
Not sure if the new second param will ever be used though.
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Woops, committed the wrong file
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
validateEventPost() is entirely permissions checks. Move it to the calendar controller.
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
customfield should be passed, not gotten from $_POST
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
More moving stuff from the model back to the controller
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Forgot the documentation. Thanks @Scrutinizer
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Merge pull request #1415 from joshuaadickerson/RemoveUpdateMemberData

Moved updateMemberData() from Subs.php to Members.subs.php
Merge pull request #1449 from joshuaadickerson/Subs

Model to controller stuff
Merge branch 'master' into update_master

Conflicts:
	sources/subs/Calendar.subs.php
	sources/subs/Members.subs.php