Rapidmail_RMConnect - Version 1.2.0

Version Notes

Added productlisting includes image, link and price, too.

Consider table prefix getting subscribers, too.

Download this release

Release Info

Developer SK
Extension Rapidmail_RMConnect
Version 1.2.0
Comparing to
See all releases


Code changes from version 1.1.0 to 1.2.0

app/code/local/Rapidmail/RMConnect/Model/Newsletter/Api/V2.php CHANGED
@@ -21,7 +21,7 @@ class Rapidmail_RMConnect_Model_Newsletter_Api_V2 extends Mage_Api_Model_Resourc
21
  $resource = Mage::getSingleton('core/resource');
22
 
23
  // Get subscribers
24
- $results = $resource->getConnection('core_read')->fetchAll('SELECT * FROM newsletter_subscriber');
25
 
26
  return (array)$results;
27
 
@@ -43,7 +43,7 @@ class Rapidmail_RMConnect_Model_Newsletter_Api_V2 extends Mage_Api_Model_Resourc
43
  $db = $resource->getConnection('core_write');
44
 
45
  // Get subscriber
46
- $subscriber = $db->fetchRow('SELECT * FROM ' . $resource->getTableName('newsletter/subscriber') . ' WHERE subscriber_email = "' . $db->quote($email) . '" LIMIT 1');
47
 
48
  if (!$subscriber) {
49
  return 404;
21
  $resource = Mage::getSingleton('core/resource');
22
 
23
  // Get subscribers
24
+ $results = $resource->getConnection('core_read')->fetchAll('SELECT * FROM ' . $resource->getTableName('newsletter/subscriber'));
25
 
26
  return (array)$results;
27
 
43
  $db = $resource->getConnection('core_write');
44
 
45
  // Get subscriber
46
+ $subscriber = $db->fetchRow('SELECT * FROM ' . $resource->getTableName('newsletter/subscriber') . ' WHERE subscriber_email = ' . $db->quote($email) . ' LIMIT 1');
47
 
48
  if (!$subscriber) {
49
  return 404;
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Rapidmail_RMConnect</name>
4
- <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
@@ -12,11 +12,13 @@
12
  &lt;p&gt;Get the extension key and install the rapidmail Connector.&lt;br /&gt;&#xD;
13
  Also take a look at the &lt;a href="http://doc.rapidmail.net/pages/viewpage.action?pageId=655730"&gt;rapidmail user manual&lt;/a&gt;&#xD;
14
  &lt;/p&gt;</description>
15
- <notes>Added productlisting includes image, link and price, too.</notes>
 
 
16
  <authors><author><name>SK</name><user>auto-generated</user><email>support@rapidmail.de</email></author></authors>
17
- <date>2014-02-06</date>
18
- <time>21:00:54</time>
19
- <contents><target name="magelocal"><dir name="Rapidmail"><dir name="RMConnect"><dir name="Model"><dir name="Catalog"><dir name="Api"><file name="V2.php" hash="f12dc4f9e5627493a55fb9d5ee90ee50"/></dir><file name="Api.php" hash="78966a1f4415bbd81f70c6934995298b"/></dir><dir name="Newsletter"><dir name="Api"><file name="V2.php" hash="d4edaca24168d9f3c78f5bed37202220"/></dir><file name="Api.php" hash="d08bb077ebad4060e1539f9fb5adf6e8"/></dir></dir><dir name="etc"><file name="api.xml" hash="016e75b9ec1b65e1facba373edadc0f1"/><file name="config.xml" hash="df1398c1f6bee0682ca128be496b33bb"/><file name="wsdl.xml" hash="b95cf8246a21ecf7289fd21f8b1ea805"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Rapidmail_RMConnect.xml" hash="b38e11f35fa67bc12931927ae58dc8da"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.3.0</min><max>6.0.0.</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Rapidmail_RMConnect</name>
4
+ <version>1.2.0</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
12
  &lt;p&gt;Get the extension key and install the rapidmail Connector.&lt;br /&gt;&#xD;
13
  Also take a look at the &lt;a href="http://doc.rapidmail.net/pages/viewpage.action?pageId=655730"&gt;rapidmail user manual&lt;/a&gt;&#xD;
14
  &lt;/p&gt;</description>
15
+ <notes>Added productlisting includes image, link and price, too.&#xD;
16
+ &#xD;
17
+ Consider table prefix getting subscribers, too.</notes>
18
  <authors><author><name>SK</name><user>auto-generated</user><email>support@rapidmail.de</email></author></authors>
19
+ <date>2014-03-07</date>
20
+ <time>11:23:49</time>
21
+ <contents><target name="magelocal"><dir name="Rapidmail"><dir name="RMConnect"><dir name="Model"><dir name="Catalog"><dir name="Api"><file name="V2.php" hash="f12dc4f9e5627493a55fb9d5ee90ee50"/></dir><file name="Api.php" hash="78966a1f4415bbd81f70c6934995298b"/></dir><dir name="Newsletter"><dir name="Api"><file name="V2.php" hash="7d3a9335b48ae157046243e427cb745e"/></dir><file name="Api.php" hash="d08bb077ebad4060e1539f9fb5adf6e8"/></dir></dir><dir name="etc"><file name="api.xml" hash="016e75b9ec1b65e1facba373edadc0f1"/><file name="config.xml" hash="df1398c1f6bee0682ca128be496b33bb"/><file name="wsdl.xml" hash="b95cf8246a21ecf7289fd21f8b1ea805"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Rapidmail_RMConnect.xml" hash="b38e11f35fa67bc12931927ae58dc8da"/></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.3.0</min><max>6.0.0.</max></php></required></dependencies>
24
  </package>