Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
26711eeb
Commit
26711eeb
authored
Feb 03, 2014
by
pupi1985
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simple readability change in the adsense plugin.
parent
2b4c4d5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
12 deletions
+1
-12
qa-basic-adsense.php
qa-plugin/basic-adsense/qa-basic-adsense.php
+1
-12
No files found.
qa-plugin/basic-adsense/qa-basic-adsense.php
View file @
26711eeb
...
...
@@ -34,18 +34,7 @@
function
allow_region
(
$region
)
{
$allow
=
false
;
switch
(
$region
)
{
case
'main'
:
case
'side'
:
case
'full'
:
$allow
=
true
;
break
;
}
return
$allow
;
return
in_array
(
$region
,
array
(
'main'
,
'side'
,
'full'
));
}
...
...
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