<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
</head>
<body>
<style type="text/css">
img {
max-width: 100%; height: auto;
}
</style>
<div class="content">
<h3>
Imran Hussain pushed to branch beta
at <a href="https://projects.sucs.org/sucssite/sucs-site">sucssite / sucs-site</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/sucssite/sucs-site/commit/b13af1e6fc007cc23be8563a51792ff012d64e2c">b13af1e6</a></strong>
<div>
<span>by Chris Piper</span>
<i>at 2017-03-31T14:06:03+01:00</i>
</div>
<pre class="commit-message" style="margin: 0; white-space: pre-wrap">stop .forward file being a symlink</pre>
</li>
<li>
<strong><a href="https://projects.sucs.org/sucssite/sucs-site/commit/92f40d62319fdc7e651f769d7f33ef92b33b85f4">92f40d62</a></strong>
<div>
<span>by Imran Hussain</span>
<i>at 2017-04-01T18:32:28+01:00</i>
</div>
<pre class="commit-message" style="margin: 0; white-space: pre-wrap">Merge branch 'master' into beta
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#4d7e42dce902297709eca0420cf83224136c3c24">
lib/session.php
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="4d7e42dce902297709eca0420cf83224136c3c24">
<a href="https://projects.sucs.org/sucssite/sucs-site/compare/70eb93ea8e870a62d93bdf23798453be4d49956e...92f40d62319fdc7e651f769d7f33ef92b33b85f4#4d7e42dce902297709eca0420cf83224136c3c24"><strong>lib/session.php</strong></a>
<hr>
<table class="code white" style="-premailer-cellpadding: 0; -premailer-cellspacing: 0; -premailer-width: 100%; background: #fff; font-family: monospace; font-size: 12px" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="228" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="228" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="background: #fafafa; color: rgba(0,0,0,0.3); padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fafafa">@@ -228,7 +228,7 @@ class Session</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="228" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
228
</td>
<td class="diff-line-num new_line" data-linenumber="228" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
228
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC228" class="line"> <span class="c1" style="color: #998; font-style: italic">// the bash script returns 0 for no and 1 for yes, takes one arg, username</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="229" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
229
</td>
<td class="diff-line-num new_line" data-linenumber="229" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
229
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC229" class="line"> <span class="nv" style="color: teal">$this</span><span class="o" style="font-weight: bold">-></span><span class="na" style="color: teal">email</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">shell_exec</span><span class="p">(</span><span class="s2" style="color: #d14">"../plugins/sucsunreadmail </span><span class="nv" style="color: teal">$user</span><span class="s2" style="color: #d14">"</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="230" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
230
</td>
<td class="diff-line-num new_line" data-linenumber="230" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
230
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC230" class="line"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="231" style="background: #f9d7dc; border-right-color: #fac5cd; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f9d7dc">
231
</td>
<td class="diff-line-num new_line old" data-linenumber="231" style="background: #f9d7dc; border-right-color: #fac5cd; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content noteable_line old" style="background: #fbe9eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe9eb">
<pre style="margin: 0">-<span id="LC231" class="line"> <span class="k" style="font-weight: bold">if</span> <span class="p">(</span><span class="nb" style="color: #0086b3">file_exists</span><span class="p">(</span><span class="nv" style="color: teal">$info</span><span class="p">[</span><span class="s1" style="color: #d14">'homedirectory'</span><span class="p">][</span><span class="mi" style="color: #099">0</span><span class="p">]</span> <span class="o" style="font-weight: bold">.</span> <span class="s2" style="color: #d14">"/.forward"</span><span class="p">))</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="232" style="background: #ddfbe6; border-right-color: #c7f0d2; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="231" style="background: #ddfbe6; border-right-color: #c7f0d2; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#ddfbe6">
231
</td>
<td class="line_content new noteable_line" style="background: #ecfdf0; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#ecfdf0">
<pre style="margin: 0">+<span id="LC231" class="line"> <span class="k" style="font-weight: bold">if</span> <span class="p">(</span><span class="nb" style="color: #0086b3">file_exists</span><span class="p">(</span><span class="nv" style="color: teal">$info</span><span class="p">[</span><span class="s1" style="color: #d14">'homedirectory'</span><span class="p">][</span><span class="mi" style="color: #099">0</span><span class="p">]</span> <span class="o" style="font-weight: bold">.</span> <span class="s2" style="color: #d14">"/.forward"</span><span class="p">)</span><span class="idiff left"> </span><span class="o" style="font-weight: bold"><span class="idiff">&&</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">!</span></span><span class="idiff"> </span><span class="nb" style="color: #0086b3"><span class="idiff">is_link</span></span><span class="p"><span class="idiff">(</span></span><span class="nv" style="color: teal"><span class="idiff">$info</span></span><span class="p"><span class="idiff">[</span></span><span class="s1" style="color: #d14"><span class="idiff">'homedirectory'</span></span><span class="p"><span class="idiff">][</span></span><span class="mi" style="color: #099"><span class="idiff">0</span></span><span class="p"><span class="idiff">]</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">.</span></span><span class="idiff"> </span><span class="s2" style="color: #d14"><span class="idiff">"/.forward"</span></span><span class="p"><span class="idiff right">)</span>)</span> <span class="p">{</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="232" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
232
</td>
<td class="diff-line-num new_line" data-linenumber="232" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
232
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC232" class="line"> <span class="nv" style="color: teal">$forward</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">file</span><span class="p">(</span><span class="nv" style="color: teal">$info</span><span class="p">[</span><span class="s1" style="color: #d14">'homedirectory'</span><span class="p">][</span><span class="mi" style="color: #099">0</span><span class="p">]</span> <span class="o" style="font-weight: bold">.</span> <span class="s2" style="color: #d14">"/.forward"</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="233" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
233
</td>
<td class="diff-line-num new_line" data-linenumber="233" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
233
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC233" class="line"> <span class="nv" style="color: teal">$this</span><span class="o" style="font-weight: bold">-></span><span class="na" style="color: teal">email_forward</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">preg_replace</span><span class="p">(</span><span class="s2" style="color: #d14">"/</span><span class="se" style="color: #d14">\n</span><span class="s2" style="color: #d14">/"</span><span class="p">,</span> <span class="s2" style="color: #d14">""</span><span class="p">,</span> <span class="nv" style="color: teal">$forward</span><span class="p">[</span><span class="mi" style="color: #099">0</span><span class="p">]);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="234" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
234
</td>
<td class="diff-line-num new_line" data-linenumber="234" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
234
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC234" class="line"> <span class="p">}</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
</div>
<div class="footer" style="margin-top: 10px">
<p style="color: #777; font-size: small">
—
<br>
<a href="https://projects.sucs.org/sucssite/sucs-site/compare/70eb93ea8e870a62d93bdf23798453be4d49956e...92f40d62319fdc7e651f769d7f33ef92b33b85f4">View it on GitLab</a>.
<br>
You're receiving this email because of your account on projects.sucs.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
</p>
</div>
</body>
</html>