Skip to content

Commit 74dbbe6

Browse files
committed
update
1 parent d965c51 commit 74dbbe6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

TwitterConnect.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
*
1919
* TwitterConnect allows you to authorizate with twitter
2020
*/
21-
class TwitterConnect extends CApplicationComponent {
21+
22+
class TwitterConnect extends CApplicationComponent
23+
{
2224

2325
/**
2426
* Description of consumerKey variable.
@@ -63,8 +65,6 @@ class TwitterConnect extends CApplicationComponent {
6365
public function init() {
6466
parent::init();
6567

66-
Yii::app()->session->open();
67-
6868
if (!empty($this->consumerKey) && !empty($this->consumerSecret)) {
6969

7070
Yii::setPathOfAlias('twitterconnect', dirname(__FILE__));
@@ -92,7 +92,7 @@ public function init() {
9292
* This method set oauth connection.
9393
*
9494
* @param string $method The method.
95-
* @param string $type The type.
95+
* @param string $type The type.
9696
*
9797
* @return
9898
*/

0 commit comments

Comments
 (0)