Commit 6488d412 authored by Adrien Dorsaz's avatar Adrien Dorsaz

[shaarleed] Fixe le bug #79 et incrémente la version

parent b3c439cd
......@@ -4,7 +4,7 @@
@author Idleman <idleman@idleman.fr>
@link http://blog.idleman.fr
@licence WTFPL
@version 3.0.1
@version 3.0.2
@description Le plugin Shaarleed permet de partager un lien d'evenement directement sur son script <a target="_blank" href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli">shaarli</a>
*/
......@@ -50,6 +50,9 @@ function shaarleed_plugin_setting_bloc(&$myUser){
}
function shaarleed_plugin_update($_){
$myUser = (isset($_SESSION['currentUser'])?unserialize($_SESSION['currentUser']):false);
if($myUser===false) exit(_t('P_SHARLEED_CONNECTION_ERROR'));
if($_['action']=='shaarleed_update'){
$configurationManager = new Configuration();
$configurationManager->put('plugin_shaarli_link',$_['plugin_shaarli_link']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment