File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 18
18
*
19
19
* TwitterConnect allows you to authorizate with twitter
20
20
*/
21
- class TwitterConnect extends CApplicationComponent {
21
+
22
+ class TwitterConnect extends CApplicationComponent
23
+ {
22
24
23
25
/**
24
26
* Description of consumerKey variable.
@@ -63,8 +65,6 @@ class TwitterConnect extends CApplicationComponent {
63
65
public function init () {
64
66
parent ::init ();
65
67
66
- Yii::app ()->session ->open ();
67
-
68
68
if (!empty ($ this ->consumerKey ) && !empty ($ this ->consumerSecret )) {
69
69
70
70
Yii::setPathOfAlias ('twitterconnect ' , dirname (__FILE__ ));
@@ -92,7 +92,7 @@ public function init() {
92
92
* This method set oauth connection.
93
93
*
94
94
* @param string $method The method.
95
- * @param string $type The type.
95
+ * @param string $type The type.
96
96
*
97
97
* @return
98
98
*/
You can’t perform that action at this time.
0 commit comments