Permalink
Browse files

cleanup

git-svn-id: http://plugins.svn.wordpress.org/cleeng/trunk@485056 b8457f37-d9ea-0310-8a92-e5e31aec5664
  • Loading branch information...
1 parent f2a886e commit 1421c82e22ff77c6fd0e02d5596ff85d9a0eb640 mtymek committed Jan 5, 2012
Showing with 4 additions and 6 deletions.
  1. +0 −1 css/cleengFEWidget.css
  2. +4 −5 php/classes/Core.php
View
@@ -92,7 +92,6 @@ a.cleeng-pay-with-paypal img {
padding-left: 16px;
height: 18px;
line-height: 18px;
- padding-top: 1px;
text-align: right;
}
.cleeng-auth-bar span, .cleeng-noauth-bar span {
View
@@ -120,13 +120,12 @@ public function setup()
}
self::$config = array_merge(self::$config, $options);
- if (!$options['appId']) { // no appId - register new application
+ if (!self::$config['appId']) { // no appId - register new application
$app = self::load('Cleeng_Installer')->register_client_app();
if ($app) {
- $options['appId'] = $app['appId'];
- $options['appSecureKey'] = $app['appSecureKey'];
- update_option('cleeng_options', $options);
- self::$config = $options;
+ self::$config['appId'] = $app['appId'];
+ self::$config['appSecureKey'] = $app['appSecureKey'];
+ update_option('cleeng_options', self::$config);
}
}

0 comments on commit 1421c82

Please sign in to comment.