Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
F
foodsharing
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
247
Issues
247
List
Boards
Labels
Service Desk
Milestones
Merge Requests
51
Merge Requests
51
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
foodsharing-dev
foodsharing
Commits
cb52a3a6
Commit
cb52a3a6
authored
Feb 12, 2018
by
Matthias Larisch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace some more usages of func
parent
fc8b58ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
src/Lib/Db/Mem.php
src/Lib/Db/Mem.php
+3
-0
src/Modules/Mails/MailsControl.php
src/Modules/Mails/MailsControl.php
+3
-0
src/Modules/Maintenance/MaintenanceControl.php
src/Modules/Maintenance/MaintenanceControl.php
+3
-3
No files found.
src/Lib/Db/Mem.php
View file @
cb52a3a6
...
...
@@ -6,6 +6,9 @@ use Redis;
class
Mem
{
/**
* @var Redis
*/
public
static
$cache
;
public
static
$connected
;
private
static
$func
;
...
...
src/Modules/Mails/MailsControl.php
View file @
cb52a3a6
...
...
@@ -11,6 +11,9 @@ use Foodsharing\Modules\Console\ConsoleControl;
class
MailsControl
extends
ConsoleControl
{
/**
* @var fSMTP
*/
public
static
$smtp
=
false
;
public
static
$last_connect
;
...
...
src/Modules/Maintenance/MaintenanceControl.php
View file @
cb52a3a6
...
...
@@ -146,7 +146,7 @@ class MaintenanceControl extends ConsoleControl
$inactive_fsids
[
$fs
[
'id'
]]
=
$fs
[
'id'
];
$this
->
tplMail
(
27
,
$fs
[
'email'
],
array
(
'name'
=>
$fs
[
'name'
],
'anrede'
=>
s
(
'anrede_'
.
$fs
[
'geschlecht'
])
'anrede'
=>
$this
->
func
->
s
(
'anrede_'
.
$fs
[
'geschlecht'
])
));
$this
->
infoToBotsUserDeactivated
(
$fs
);
...
...
@@ -163,7 +163,7 @@ class MaintenanceControl extends ConsoleControl
foreach
(
$foodsaver
as
$fs
)
{
$this
->
tplMail
(
26
,
$fs
[
'email'
],
array
(
'name'
=>
$fs
[
'name'
],
'anrede'
=>
s
(
'anrede_'
.
$fs
[
'geschlecht'
])
'anrede'
=>
$this
->
func
->
s
(
'anrede_'
.
$fs
[
'geschlecht'
])
));
}
...
...
@@ -428,7 +428,7 @@ class MaintenanceControl extends ConsoleControl
self
::
info
(
'send '
.
count
(
$foodsaver
)
.
' warnings...'
);
foreach
(
$foodsaver
as
$fs
)
{
$this
->
tplMail
(
28
,
$fs
[
'fs_email'
],
array
(
'anrede'
=>
s
(
'anrede_'
.
$fs
[
'geschlecht'
]),
'anrede'
=>
$this
->
func
->
s
(
'anrede_'
.
$fs
[
'geschlecht'
]),
'name'
=>
$fs
[
'fs_name'
],
'betrieb'
=>
$fs
[
'betrieb_name'
],
'link'
=>
URL_INTERN
.
'/?page=fsbetrieb&id='
.
$fs
[
'betrieb_id'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment