]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/helper/captcha/class_BaseCaptcha.php
generateUniqueId() and more useless/deprecated methods removed, code speed-up, link...
[shipsimu.git] / inc / classes / main / helper / captcha / class_BaseCaptcha.php
index 09b3e911701e33cf5133fff2be9e92ac202734d9..8cb138ef92ce5f20e50c4b2895e9c1011f5e247a 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -19,7 +19,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class BaseCaptcha extends BaseHelper {
        /**
@@ -41,10 +41,6 @@ class BaseCaptcha extends BaseHelper {
        protected function __construct ($className) {
                // Call parent constructor
                parent::__construct($className);
-
-               // Clean up a little
-               $this->removeNumberFormaters();
-               $this->removeSystemArray();
        }
 
        /**
@@ -59,11 +55,11 @@ class BaseCaptcha extends BaseHelper {
        }
 
        /**
-        * Protected getter for RNG instance
+        * Getter for RNG instance
         *
         * @return      $rngInstance    An instance of a random number generator (RNG)
         */
-       protected final function getRngInstance () {
+       public final function getRngInstance () {
                return $this->rngInstance;
        }