Code Duplication    Length = 7-7 lines in 2 locations

code/control/LinkedinCallback.php 1 location

@@ 388-394 (lines=7) @@
385
386
387
388
    public function __construct()
389
    {
390
        if (self::$consumer_secret == null || self::$consumer_key == null) {
391
            user_error('Cannot instigate a LinkedinCallback object without a consumer secret and key', E_USER_ERROR);
392
        }
393
        parent::__construct();
394
    }
395
396
397
//======================================= CONNECT ===============================================

code/control/TwitterCallback.php 1 location

@@ 401-407 (lines=7) @@
398
399
400
401
    public function __construct()
402
    {
403
        if (self::$consumer_secret == null || self::$consumer_key == null) {
404
            user_error('Cannot instigate a TwitterCallback object without a consumer secret and key', E_USER_ERROR);
405
        }
406
        parent::__construct();
407
    }
408
409
410
//======================================= CONNECT ===============================================