<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Remove double return in hooks.inc]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7055</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7055&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Remove double return in hooks.inc.]]></description>
		<lastBuildDate>Fri, 27 Oct 2017 07:03:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Remove double return in hooks.inc]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29242#p29242</link>
			<description><![CDATA[<p>Yes, indeed in default_get_dispatchable_quantity() the last line was sparse. <a href="https://github.com/FrontAccountingERP/FA/commit/5c2b576cebcb6bf59a23d4f49b7362003f8d1bf1">Fixed in repo</a>.<br />While this hook is not used in main code, it can be used by extensions.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Fri, 27 Oct 2017 07:03:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29242#p29242</guid>
		</item>
		<item>
			<title><![CDATA[Re: Remove double return in hooks.inc]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29239#p29239</link>
			<description><![CDATA[<p>Excuse me, but I see no problems here.</p><p>The last function either return the $result (if not null) or return the outcome from the static function default_get_dispatchable_quantity().<br />This function maybe called from a derived class of Hook.</p><p>I will, however, ask Janusz for a comment on this.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 26 Oct 2017 22:55:06 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29239#p29239</guid>
		</item>
		<item>
			<title><![CDATA[Re: Remove double return in hooks.inc]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29235#p29235</link>
			<description><![CDATA[<p>@joe: fix redundant returns.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 26 Oct 2017 21:00:52 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29235#p29235</guid>
		</item>
		<item>
			<title><![CDATA[Remove double return in hooks.inc]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29126#p29126</link>
			<description><![CDATA[<p>The file <strong>includes/hooks.inc</strong> has it&#039;s last class method <strong>default_get_dispatchable_quantity()</strong> called only in the page&#039;s last function <strong>hook_get_dispatchable_quantity()</strong>.</p><p>1. Is this set of functions necessary here?<br />2. The said method has two consecutive <strong>return</strong> statements - remove or comment one of them if they should be there for some alternative workaround for a different set of PHP versions.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 21 Oct 2017 10:07:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29126#p29126</guid>
		</item>
	</channel>
</rss>
