Changeset 1319

Show
Ignore:
Timestamp:
03/06/11 11:27:45 (2 years ago)
Author:
Torben Brodt
Message:

optional package for extended login settings

Location:
facebook
Files:
9 added
1 removed
2 modified

Legend:

Unmodified
Added
Removed
  • facebook/files/acp/update_facebook.php

    r1318 r1319  
    55 * @license     GNU General Public License <http://opensource.org/licenses/gpl-3.0.html> 
    66 */ 
    7 if (!function_exists('curl_init')) { 
    8   throw new SystemException('Facebook needs the CURL PHP extension.'); 
    9 } 
    10 if (!function_exists('json_decode')) { 
    11   throw new SystemException('Facebook needs the JSON PHP extension.'); 
    12 } 
     7 
     8// update package name 
     9$sql = "UPDATE  wcf".WCF_N."_package 
     10        SET     package = 'de.easy-coding.wcf.facebook' 
     11        WHERE   package = 'org.gnex.facebook.auth'"; 
     12WCF::getDB()->sendQuery($sql); 
    1313 
    1414// try to delete this file 
  • facebook/package.xml

    r1318 r1319  
    22<!DOCTYPE package SYSTEM "http://www.woltlab.com/DTDs/package.dtd"> 
    33<package name="org.gnex.facebook.auth"> 
     4<!-- will be changed to de.easy-coding.wcf.facebook --> 
    45        <packageInformation> 
    56                <packagename><![CDATA[Facebook]]></packagename> 
    67                <packagedescription language="de"><![CDATA[Dieses Plugin verbindet Facebook mit dem WCF. So ist z.B. ein Direktlogin via Facebook möglich.]]></packagedescription> 
    78                <packagedescription><![CDATA[This enables all users to login with their facebook account.]]></packagedescription> 
    8                 <version>2.1.0</version> 
     9                <version>2.1.1</version> 
    910                <date>DATE</date> 
    1011                <plugin>com.woltlab.wcf</plugin> 
     
    3031                <templates>templates.tar</templates> 
    3132                <sql>install.sql</sql> 
    32                 <script>acp/update_facebook.php</script> 
     33                <script>acp/check_facebook.php</script> 
    3334                 
    3435                <options>options.xml</options> 
     
    3839                <languages languagecode="de-informal">de-informal.xml</languages> 
    3940                <languages languagecode="en">en.xml</languages> 
     41        </instructions> 
     42 
     43        <instructions type="update" fromversion="2.1.0"> 
     44                <files>files.tar</files> 
     45                <script>acp/update_facebook.php</script> 
    4046        </instructions> 
    4147 
     
    7278                <useroptions>useroptions.xml</useroptions> 
    7379                <templates>templates.tar</templates> 
    74                 <templatepatch fuzzfactor="2">templates.diff</templatepatch> 
     80                <templatepatch fuzzfactor="2">templates113.diff</templatepatch> 
    7581                <sql>update.sql</sql> 
    7682