Removed the obsolete functions and used CI built in functions
Merge branch 'master' of https://github.com/gencms/sample-gencms
Removed the obsolete functions and used CI built in functions